OFFSET
1,3
LINKS
Eric Weisstein's World of Mathematics, Graph Cycle
Eric Weisstein's World of Mathematics, Halved Cube Graph
Index entries for linear recurrences with constant coefficients, signature (10, -40, 80, -80, 32).
FORMULA
a(n) = 3*2^(n-5)*binomial(n,3)*(13*n-35).
a(n) = 10*a(n-1)-40*a(n-2)+80*a(n-3)-80*a(n-4)+32*a(n-5).
G.f.: (-3*x*(x^2 + 24*x^3))/(-1 + 2*x)^5.
MATHEMATICA
Table[3 2^(n - 5) Binomial[n, 3] (13 n - 35), {n, 20}]
LinearRecurrence[{10, -40, 80, -80, 32}, {0, 0, 3, 102, 900}, 20]
CoefficientList[Series[-((3 (x^2 + 24 x^3))/(-1 + 2 x)^5), {x, 0, 20}], x]
PROG
(PARI) a(n)=([0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1; 32, -80, 80, -40, 10]^(n-1)*[0; 0; 3; 102; 900])[1, 1] \\ Charles R Greathouse IV, May 28 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jul 17 2017
STATUS
approved
