OFFSET
1,2
LINKS
Eric Weisstein's World of Mathematics, Lower Matching Number.
Eric Weisstein's World of Mathematics, Stacked Book Graph.
Index entries for linear recurrences with constant coefficients, signature (1,0,2,-2,0,-1,1).
FORMULA
G.f.: x*(-1-x-2*x^2-2*x^4)/((-1+x)^3*(1+x+x^2)^2).
a(n) = 1*a(n-1)+2*a(n-3)-2*a(n-4)-1*a(n-6)+1*a(n-7).
MATHEMATICA
Table[1/27 (6 + 6 n + 9 n^2 + 6 (n + 2) ChebyshevU[n, -1/2] + 3 (1 + n) ChebyshevU[n + 1, -1/2] - 15 Cos[2 n Pi/3] + 11 Sqrt[3] Sin[2 n Pi/3]), {n, 20}]
LinearRecurrence[{1, 0, 2, -2, 0, -1, 1}, {1, 2, 4, 6, 10, 14, 17}, 20]
CoefficientList[Series[-(1 + x + 2 x^2 + 2 x^4)/((-1 + x)^3 (1 + x + x^2)^2), {x, 0, 20}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, Dec 07 2024
STATUS
approved