OFFSET
1,2
COMMENTS
Sequence extended to a(0) using the formula.
LINKS
Eric Weisstein's World of Mathematics, Cube Polynomial.
Eric Weisstein's World of Mathematics, Sierpinski Carpet Graph.
Index entries for linear recurrences with constant coefficients, signature (12,-35,24).
FORMULA
a(n)=(40-112*3^n+107*8^n)/35.
a(n) = 12*a(n-1)-35*a(n-2)+24*a(n-3).
G.f.: (-1-4*x-11*x^2)/(-1+12*x-35*x^2+24*x^3).
MATHEMATICA
Table[(40 - 112 3^n + 107 8^n)/35, {n, 0, 20}]
LinearRecurrence[{12, -35, 24}, {16, 168, 1480}, {0, 20}]
CoefficientList[Series[(-1 - 4 x - 11 x^2)/(-1 + 12 x - 35 x^2 + 24 x^3), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Mar 14 2026
STATUS
approved
