OFFSET
1,2
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
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
a(n) = a(n-2)+a(n-3)-a(n-5) for n>6. G.f.: x*(x^5 +5*x^3 +7*x^2 +6*x +1)/((1 -x)^2*(1 +x)*(1 +x +x^2)). - Colin Barker, Sep 27 2012
MATHEMATICA
LinearRecurrence[{0, 1, 1, 0, -1}, {1, 6, 8, 12, 14, 20}, 100] (* Paolo Xausa, Jun 27 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 10 2001
STATUS
approved
