OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Graph Cycle
Eric Weisstein's World of Mathematics, Rook Complement Graph
Index entries for linear recurrences with constant coefficients, signature (9, -36, 84, -126, 126, -84, 36, -9, 1).
FORMULA
a(n) = (n-2)*(n-1)^2*n^2*(-4 + 5*n - 4*n^2 + n^3)/8.
a(n) = 9*a(n-1) - 36*a(n-2) + 84*a(n-3) - 126*a(n-4) + 126*a(n-5) - 84*a(n-6) + 36*a(n-7) - 9*a(n-8) + a(n-9).
G.f.: -((3 x^3 (3 + 165 x + 680 x^2 + 660 x^3 + 165 x^4 + 7 x^5))/(-1 + x)^9).
MATHEMATICA
Table[(-2 + n) (-1 + n)^2 n^2 (-4 + 5 n - 4 n^2 + n^3)/8, {n, 20}]
LinearRecurrence[{9, -36, 84, -126, 126, -84, 36, -9, 1}, {0, 0, 9, 576, 6900, 44100, 196245, 686784, 2023056}, 30]
CoefficientList[Series[-((3 x^2 (3 + 165 x + 680 x^2 + 660 x^3 + 165 x^4 + 7 x^5))/(-1 + x)^9), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Sep 05 2017
STATUS
approved