OFFSET
0,2
COMMENTS
For n > 4, a(n+60) = a(n).
LINKS
Ray Chandler, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (-1, -2, -2, -2, -1, 0, 1, 2, 2, 2, 1, 1).
FORMULA
G.f.: (120*x^16 +1860*x^15 +8520*x^14 +43110*x^13 +48594*x^12 +67518*x^11 +57786*x^10 +26294*x^9 -27373*x^8 -89675*x^7 -122940*x^6 -160740*x^5 -136773*x^4 -117696*x^3 -60014*x^2 -46657*x -1) / ((x -1)*(x +1)*(x^2 -x +1)*(x^2 +1)*(x^2 +x +1)*(x^4 +x^3 +x^2 +x +1)). - Colin Barker, Aug 07 2013
MATHEMATICA
Join[{1, 46656, 13356, 11026, 5721}, LinearRecurrence[{-1, -2, -2, -2, -1, 0, 1, 2, 2, 2, 1, 1}, {12942, 3136, 13806, 5601, 9286, 5952, 13806, 1921, 13806, 6816, 8422, 5601}, 34]] (* Ray Chandler, Sep 08 2015 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
David Wasserman, Feb 23 2005
STATUS
approved