OFFSET
1,8
COMMENTS
See related comments in A122878.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,-1,1,0,0,0,0,0,-1,1).
FORMULA
a(n+21) = a(n).
G.f.: -x^5*(2*x^10-x^7+x^3+1) / ((x-1)*(x^2+x+1)*(x^12-x^11+x^9-x^8+x^6 -x^4+x^3-x+1)). - Colin Barker, Dec 21 2012
MATHEMATICA
PadRight[{}, 120, {0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2}] (* Harvey P. Dale, Dec 27 2016 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Rick L. Shepherd, Sep 16 2006
STATUS
approved