OFFSET
0,1
COMMENTS
Apart from initial term(s), dimension of the space of weight 2n cusp forms for Gamma_0( 40 ).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..2000
Tanya Khovanova, Recursive Sequences.
William A. Stein, Dimensions of the spaces S_k(Gamma_0(N)).
William A. Stein, The modular forms database.
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 2*a(n-1) - a(n-2). - Vincenzo Librandi, Jun 07 2011
From G. C. Greubel, Sep 18 2019: (Start)
G.f.: 2*(1 + 5*x)/(1-x)^2.
E.g.f.: 2*(1 + 6*x)*exp(x). (End)
Sum_{n>=0} (-1)^n/a(n) = Pi/12 + sqrt(3)*log(2 + sqrt(3))/12. - Amiram Eldar, Dec 12 2021
MAPLE
MATHEMATICA
12*Range[0, 60]+2 (* Vladimir Joseph Stephan Orlovsky, Feb 19 2011 *)
PROG
(Magma) [12*n+2: n in [0..60]]; // Vincenzo Librandi, Jun 07 2011
(PARI) a(n)=12*n+2 \\ Charles R Greathouse IV, Jul 10 2016
(Sage) [2*(6*n+1) for n in (0..60)] # G. C. Greubel, Sep 18 2019
(GAP) List([0..60], n-> 2*(6*n+1) ); # G. C. Greubel, Sep 18 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved