OFFSET
1,3
LINKS
William A. Stein, Dimensions of the spaces S_k^{new}(Gamma_0(N))
William A. Stein, The modular forms database
Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,-1).
FORMULA
G.f.: x(1-x^5)/((1-x)(1-x^2)(1-x^3)), if n>0. a(n)=-a(1-n). a(n+6)=a(n)+5.
MATHEMATICA
Rest@ CoefficientList[Series[x (1 - x^5)/((1 - x) (1 - x^2) (1 - x^3)), {x, 0, 73}], x] (* Michael De Vlieger, Apr 13 2016 *)
LinearRecurrence[{0, 1, 1, 0, -1}, {1, 1, 2, 3, 4}, 80] (* Harvey P. Dale, Jun 18 2018 *)
PROG
(PARI) a(n)=5*(n-1)\6+(n%6!=0)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 10 2001
STATUS
approved