OFFSET
2,3
LINKS
Eric Weisstein's World of Mathematics, Graph Cycle.
Eric Weisstein's World of Mathematics, White Bishop Graph.
Index entries for linear recurrences with constant coefficients, signature (2,2,-6,0,6,-2,-2,1).
FORMULA
a(n) = (n - 1)^2*(2*n^2 - 4*n - 3 + 3*(-1)^n)/24.
a(n) = 2*a(n-1) + 2*a(n-2) - 6*a(n-3) + 6*a(n-5) - 2*a(n-6) - 2*a(n-7) + a(n-8).
G.f.: -2*x^4*(3+2*x+3*x^2)/((-1+x)^5*(1+x)^3).
MATHEMATICA
Table[(n - 1)^2 (2 n^2 - 4 n - 3 + 3 (-1)^n)/24, {n, 2, 20}]
LinearRecurrence[{2, 2, -6, 0, 6, -2, -2, 1}, {0, 0, 6, 16, 50, 96, 196, 320}, 20]
CoefficientList[Series[-2 x^2 (3 + 2 x + 3 x^2)/((-1 + x)^5 (1 + x)^3), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Dec 07 2023
STATUS
approved
