OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Graph Cycle
Eric Weisstein's World of Mathematics, Rook Graph
Index entries for linear recurrences with constant coefficients, signature (8, -28, 56, -70, 56, -28, 8, -1).
FORMULA
a(n) = (n-1)*(n-2)*n^2*(n+2)*(n^2+2*n-11)/6.
a(n) = 8*a(n-1)-28*a(n-2)+56*a(n-3)-70*a(n-4)+56*a(n-5)-28*a(n-6)+8*a(n-7)+a(n-8).
G.f.: (12*x^3*(5+64*x+8*x^2-8*x^3+x^4))/(-1+x)^8.
MATHEMATICA
Table[(n - 1) (n - 2) n^2 (n + 2) (n^2 + 2 n - 11)/6, {n, 20}]
Table[Binomial[n, 3] n (n + 2) (n^2 + 2 n - 11), {n, 20}]
LinearRecurrence[{8, -28, 56, -70, 56, -28, 8, -1}, {0, 0, 60, 1248, 8400, 35520, 114660, 309120}, 20]
CoefficientList[Series[(12 x^2 (5 + 64 x + 8 x^2 - 8 x^3 + x^4))/(-1 + x)^8, {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jun 20 2017
STATUS
approved