OFFSET
0,10
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,-1).
FORMULA
G.f.: -(x-1)*(1+x)*(x^2+1) / ( (x^2-x+1)*(x^6+x^5-x^3-x^2+1) ).
a(n) = a(n-1) - a(n-8), a(0) = a(1) = a(2) = a(3) = 1, a(4) = a(5) = a(6) = a(7) = 0.
MAPLE
MATHEMATICA
CoefficientList[Series[(1-x^4)/(1-x+x^8), {x, 0, 80}], x] (* or *) LinearRecurrence[ {1, 0, 0, 0, 0, 0, 0, -1}, {1, 1, 1, 1, 0, 0, 0, 0}, 80] (* Harvey P. Dale, Jul 16 2014 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Johannes W. Meijer, Aug 11 2011
STATUS
approved