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 - 3*x + 2*x^2 + x^3 - x^4 - x^5 + 3*x^6 - x^7 - 2*x^9 - 2*x^10 + ...
G.f. = 1/q - 3*q^23 + 2*q^47 + q^71 - q^95 - q^119 + 3*q^143 - q^167 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x, x^2]^2 QPochhammer[ x] QPochhammer[ -x^3] / QPochhammer[ x^3], {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^3 * eta(x^6 + A)^3 / (eta(x^2 + A)^2 * eta(x^3 + A)^2 * eta(x^12 + A)), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Jul 26 2015
STATUS
approved