OFFSET
0,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,1,-1).
FORMULA
G.f.: (1-x+x^2+x^3)/(1-x-x^5+x^6)=(1+x^2+2x^3+2x^4+x^5+2x^6+x^7)/(1-x^5)^2; a(n)=sum{k=0..n, -mu(k mod 5)}.
MATHEMATICA
CoefficientList[Series[(1-x+x^2+x^3)/(1-x-x^5+x^6), {x, 0, 120}], x] (* or *) LinearRecurrence[{1, 0, 0, 0, 1, -1}, {1, 0, 1, 2, 2, 3}, 121] (* Harvey P. Dale, Apr 26 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Apr 27 2005
STATUS
approved