OFFSET
0,2
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (2, -1, 2, -1, 2, -1, 2, -1, 2, -1, 2, -1, 2, -1, 2, -1, 2, -1, 2, -1, 2, -1).
FORMULA
G.f.: (t^22 + t^21 + t^20 + t^19 + t^18 + t^17 + t^16 + t^15 + t^14 + t^13 + t^12 + t^11 + t^10 + t^9 + t^8 + t^7 + t^6 + t^5 + t^4 + t^3 + t^2 + t + 1)/(t^22 - 2*t^21 + t^20 - 2*t^19 + t^18 - 2*t^17 + t^16 - 2*t^15 + t^14 - 2*t^13 + t^12 - 2*t^11 + t^10 - 2*t^9 + t^8 - 2*t^7 + t^6 - 2*t^5 + t^4 - 2*t^3 + t^2 - 2*t + 1).
MATHEMATICA
With[{num=Total[t^Range[0, 22]], den=Total[-2 t^Range[1, 21, 2]]+ Total[ t^Range[0, 22, 2]]}, CoefficientList[Series[num/den, {t, 0, 40}], t]] (* Harvey P. Dale, Oct 06 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
John Cannon and N. J. A. Sloane, Dec 03 2009
STATUS
approved