OFFSET
0,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
EXAMPLE
G.f. = 1 + 2*x - 5*x^2 - 10*x^3 + 9*x^4 + 14*x^5 - 10*x^6 + 14*x^8 + ...
G.f. = q + 2*q^13 - 5*q^25 - 10*q^37 + 9*q^49 + 14*q^61 - 10*q^73 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ (QPochhammer[ x] EllipticTheta[ 3, 0, x])^2, {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( (eta(x^2 + A)^5 / (eta(x + A) * eta(x^4 + A)^2))^2, n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Jun 09 2015
STATUS
approved