OFFSET
0,52
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Euler transform of period 6 sequence [ -1, 0, 1, 0, -1, -2, ...].
G.f.: Product_{k>0} ((1-x^(6k))(1+x^(3k)))^2/(1+x^k).
Expansion of psi(q^3)^2 * chi(-q) in powers of q where psi(), chi() are Ramanujan theta functions.
2*a(n) = - A030204(3*n+2).
MATHEMATICA
eta[q_] := q^(1/24)*QPochhammer[q]; CoefficientList[Series[q^(-17/24)*(eta[q]*eta[q^6]^4)/(eta[q^2]*eta[q^3]^2), {q, 0, 100}], q] (* G. C. Greubel, Apr 18 2018 *)
PROG
(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A) * eta(x^6 + A)^4 / eta(x^2 + A) / eta(x^3 + A)^2, n))}
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, May 10 2005
STATUS
approved