OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Maximum Independent Vertex Set.
Eric Weisstein's World of Mathematics, Minimum Vertex Cover.
Eric Weisstein's World of Mathematics, Necklace Graph.
Index entries for linear recurrences with constant coefficients, signature (0,4,0,-4).
FORMULA
a(n) = 4*a(n-2)-4*a(n-4).
G.f.: -4*x*(-1-x-2*x^2+2*x^3)/(-1+2*x^2)^2.
MATHEMATICA
Table[2^(n/2) (1 + (-1)^n - Sqrt[2] (-1 + (-1)^n) n), {n, 20}]
LinearRecurrence[{0, 4, 0, -4}, {4, 4, 24, 8}, 20]
CoefficientList[Series[-4 (-1 - x - 2 x^2 + 2 x^3)/(-1 + 2 x^2)^2, {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Feb 15 2026
STATUS
approved
