OFFSET
0,3
COMMENTS
Apart from initial term(s), dimension of the space of weight 2n cuspidal newforms for Gamma_0( 12 ).
Diagonal sums of A117567. - Paul Barry, Mar 29 2006
First differences of A156040. - Bob Selcoe, Feb 07 2014
Also first difference of diagonal sums of the triangle formed by rows T(2,k) k=0,1...,2m of ascending m-nomial triangles (see A004737). - Bob Selcoe, Feb 07 2014
LINKS
Luke James and Ben Salisbury, The weight function for monomial crystals of affine type, arXiv:1707.03159 [math.CO], 2017, p. 20 (sequence b_k).
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
From Paul Barry, Mar 29 2006: (Start)
a(n) = a(n-2) + a(n-3) - a(n-5);
a(n) = cos(2*Pi*n/3 + Pi/3)/3 - sqrt(3)*sin(2*Pi*n/3 + Pi/3)/9 + (-1)^n/2 + (2n+3)/6;
a(n) = Sum_{k=0..floor(n/2)} F(L((n-2k+2)/3)) where L(j/p) is the Legendre symbol of j and p. (End)
a(n) = 2*floor(n/2) + floor((n+4)/3) - n. - Ridouane Oudra, Nov 26 2019
PROG
(PARI) Vec((1+x^2)/((1-x^2)*(1-x^3))+ O(x^80)) \\ Michel Marcus, Nov 26 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved