OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,1)
FORMULA
a(n) = a(n-8), n>=11.
-(7*x^3+3*x^4+7*x^5+5*x^6+7*x^7+5*x^9+5*x^10+1+2*x+4*x^2)/ ((x-1) *(1+x) *(x^2+1) *
(x^4+1)). - R. J. Mathar, Mar 11 2011
MATHEMATICA
Mod[#, 10]&/@LinearRecurrence[{3, -4, 6, -4}, {1, 2, 4, 7}, 120] (* or *) PadRight[ {1, 2, 4}, 120, {1, 7, 9, 7, 3, 7, 5, 7}] (* Harvey P. Dale, Aug 12 2016 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Paul Curtz, Apr 05 2008
STATUS
approved