OFFSET
0,2
COMMENTS
LINKS
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
EXAMPLE
G.f. = 1 + 2*x + x^2 + 2*x^5 + 2*x^6 + 2*x^8 + 2*x^9 + x^10 + ...
G.f. = q^-1 + 2*q^2 + q^5 + 2*q^14 + 2*q^17 + 2*q^23 + 2*q^26 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ (QPochhammer[ -x, x^2] QPochhammer[ x^3, x^6])^2, {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n < 0, 0, A = x * O(x^n); polcoeff( (eta(x^2 + A)^2 * eta(x^3 + A))^2 / (eta(x+ A) * eta(x^4 + A) * eta(x^6 + A))^2, n))};
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Oct 28 2019
STATUS
approved