OFFSET
1,5
COMMENTS
Sequence extended to a(1) using the formula.
LINKS
Eric Weisstein's World of Mathematics, Graph Tetrahedron.
Eric Weisstein's World of Mathematics, White Bishop Graph.
Index entries for linear recurrences with constant coefficients, signature (2,3,-8,-2,12,-2,-8,3,2,-1).
FORMULA
a(n) = (n^2 - 4*n + 3)*(4*n^3 - 14*n^2 + 2*n + 5 + 5*(-1)^n*(2*n - 1))/240.
G.f.: x^4*(1+2*x+16*x^2+6*x^3+7*x^4)/((-1+x)^6*(1+x)^4).
a(n) = 2*a(n-1)+3*a(n-2)-8*a(n-3)-2*a(n-4)+12*a(n-5)-2*a(n-6)-8*a(n-7)+3*a(n-8)+2*a(n-9)-a(n-10).
MATHEMATICA
Table[(n^2 - 4 n + 3) (4 n^3 - 14 n^2 + 2 n + 5 + 5 (-1)^n (2 n - 1))/240, {n, 20}]
LinearRecurrence[{2, 3, -8, -2, 12, -2, -8, 3, 2, -1}, {0, 0, 0, 1, 4, 27, 64, 182, 344, 714}, 20]
CoefficientList[Series[x^3 (1 + 2 x + 16 x^2 + 6 x^3 + 7 x^4)/((x - 1)^6 (x + 1)^4), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jan 12 2026
STATUS
approved
