OFFSET
0,2
COMMENTS
REFERENCES
Srinivasa Ramanujan, The Lost Notebook and Other Unpublished Papers, Narosa Publishing House, New Delhi, 1988, p. 3, 2nd equation.
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
EXAMPLE
G.f. = 1 + 2*x + x^2 + 4*x^3 + 6*x^4 + 2*x^5 + 11*x^6 + 14*x^7 + 4*x^8 + ...
G.f. = q + 2*q^5 + q^9 + 4*q^13 + 6*q^17 + 2*q^21 + 11*q^25 + 14*q^29 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ (1/4) x^(-1/4) EllipticTheta[ 2, 0, x^(1/2)]^2 / EllipticTheta[ 4, 0, x^3], {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A)^4 * eta(x^6 + A) / (eta(x + A)^2 * eta(x^3 + A)^2), n))};
(PARI) q='q+O('q^99); Vec(eta(q^2)^4*eta(q^6)/(eta(q)^2*eta(q^3)^2)) \\ Altug Alkan, Apr 21 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Nov 04 2015
STATUS
approved
