OFFSET
1,1
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 (1,1,-1).
FORMULA
G.f.: 3*x-2*x^2*(-5-4*x+2*x^2) / ( (1+x)*(x-1)^2 ). - R. J. Mathar, Jul 15 2015
a(n) = a(n-1) + a(n-2) - a(n-3) for n>=5 with a(1)=3, a(2)=10, a(3)=18, and a(4)=24. - Wesley Ivan Hurt, Oct 14 2023
MATHEMATICA
LinearRecurrence[{1, 1, -1}, {3, 10, 18, 24}, 50] (* Harvey P. Dale, May 24 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jul 10 2001
STATUS
approved