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