OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Molecular Topological Index.
Eric Weisstein's World of Mathematics, Necklace Graph.
Index entries for linear recurrences with constant coefficients, signature (2,1,-4,1,2,-1).
FORMULA
a(n) = 3*n*(13 + (-1)^n + 12*n^2).
a(n) = 2*a(n-1)+a(n-2)-4*a(n-3)+a(n-4)+2*a(n-5)-a(n-6).
G.f.: 12*x*(6+19*x+22*x^2+19*x^3+6*x^4)/((-1+x)^4*(1+x)^2).
MATHEMATICA
Table[3 n (13 + (-1)^n + 12 n^2), {n, 20}]
LinearRecurrence[{2, 1, -4, 1, 2, -1}, {72, 372, 1080, 2472, 4680, 8028}, 20]
CoefficientList[Series[12 (6 + 19 x + 22 x^2 + 19 x^3 + 6 x^4)/((-1 + x)^4 (1 + x)^2), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Feb 17 2026
STATUS
approved
