OFFSET
0,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..5000
Michael Somos, Introduction to Ramanujan theta functions
J. B. Tunnell, A classical Diophantine problem and modular forms of weight 3/2, Invent. Math., 72 (1983), 323-334.
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
G.f.: Product_{k>0} (1+x^k)^2*(1-x^(2k))^3/(1+x^(2k)).
Expansion of f(-q^4)*f(q)^2 in powers of q where f(-q)=f(-q,-q^2) is a Ramanujan theta function.
Expansion of q^(-1/4)*eta(q^2)^6/(eta(q)^2*eta(q^4)) in powers of q.
Euler transform of period-4 sequence [2,-4,2,-3,...].
G.f.: Product_{k>0} (1-x^(2*k))^3*(1+x^k)^2/(1+x^(2*k)).
EXAMPLE
q + 2*q^5 - q^9 - 2*q^13 - 4*q^21 - q^25 + 2*q^29 - 4*q^33 + ...
MATHEMATICA
QP = QPochhammer; s = QP[q^2]^6/(QP[q]^2*QP[q^4]) + O[q]^100; CoefficientList[s, q] (* Jean-François Alcover, Nov 14 2015, adapted from PARI *)
QP := QPochhammer; a:=CoefficientList[Series[QP[q^2]^6/(QP[q]^2*QP[q^4]), {q, 0, 60}], q]; Table[a[[n]], {n, 1, 50}] (* G. C. Greubel, Jul 01 2018 *)
PROG
(PARI) {a(n)=local(A); if(n<0, 0, A=x*O(x^n); polcoeff( eta(x^2+A)^6/eta(x+A)^2/eta(x^4+A), n))}
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Feb 28 2003
STATUS
approved