OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Graph Cycle.
Eric Weisstein's World of Mathematics, Sierpinski Carpet Graph.
Index entries for linear recurrences with constant coefficients, signature (12,-35,24).
FORMULA
a(n) = 8/35*(5 + 2^(1 + 3*n) - 7*3^n).
a(n) = 12*a(n-1) - 35*a(n-1) + 24*a(n-2).
G.f.: -16*x^2/((-1+x)*(-1+3*x)*(-1+8*x)).
a(n) = 16*A016214(n-2). - R. J. Mathar, Feb 18 2024
MATHEMATICA
Table[8/35 (5 + 2^(1 + 3 n) - 7 3^n), {n, 20}]
LinearRecurrence[{12, -35, 24}, {0, 16, 192}, 20]
CoefficientList[Series[-16 x/((-1 + x) (-1 + 3 x) (-1 + 8 x)), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Dec 07 2023
STATUS
approved