OFFSET
2,1
COMMENTS
Extended to a(2) using the formula/recurrence.
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, Web Graph
Index entries for linear recurrences with constant coefficients, signature (0, 4, 0, -4).
FORMULA
a(2n) = 2^(n+1), a(2n+1) = 3*2^(n - 1)*(2 n + 1).
a(n) = 4*a(n-2) - 4*a(n-4).
G.f.: x^2 (4 + 9*x - 8*x^2 - 6*x^3)/(-1 + 2*x^2)^2.
MATHEMATICA
Table[If[Mod[n, 2] == 0, 2^(n/2 + 1), 3 2^((n - 3)/2) n], {n, 2, 40}]
LinearRecurrence[{0, 4, 0, -4}, {4, 9, 8, 30}, 20]
CoefficientList[Series[(4 + 9 x - 8 x^2 - 6 x^3)/(-1 + 2 x^2)^2, {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Eric W. Weisstein, Jan 01 2018
STATUS
approved