OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Necklace Graph.
Eric Weisstein's World of Mathematics, Vertex Cut.
Index entries for linear recurrences with constant coefficients, signature (24,-150,376,-393,144).
FORMULA
a(n)=16^n - 3^n - 3*(5*3^n - 7)*n/2 - 1.
a(n) = 24*a(n-1)-150*a(n-2)+376*a(n-3)-393*a(n-4)+144*a(n-5).
G.f.: 6*x^2*(-22-54*x+157*x^2+24*x^3)/((-1+16*x)*(1-4*x+3*x^2)^2).
MATHEMATICA
Table[16^n - 3^n - 3 (5 3^n - 7) n/2 - 1, {n, 20}]
LinearRecurrence[{24, -150, 376, -393, 144}, {0, 132, 3492, 63066, 1039272}, 20]
CoefficientList[Series[6 x (-22 - 54 x + 157 x^2 + 24 x^3)/((-1 + 16 x) (1 - 4 x + 3 x^2)^2), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Feb 17 2026
STATUS
approved
