OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Graph Cycle
Eric Weisstein's World of Mathematics, Sierpinski Tetrahedron Graph
Index entries for linear recurrences with constant coefficients, signature (4).
FORMULA
a(n) = 39*4^(n - 2) for n > 1.
a(n) = 4*a(n-1) for n > 2.
G.f.: -3*x*(1 + 9*x)/(-1 + 4*x).
MATHEMATICA
Table[If[n == 1, 3, 39 4^(n - 1)], {n, 30}]
Join[{3}, LinearRecurrence[{4}, {39}, 20]]
CoefficientList[Series[-3 (1 + 9 x)/(-1 + 4 x), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Sep 18 2017
STATUS
approved