OFFSET
0,3
COMMENTS
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 - x + 3*x^2 - 5*x^3 + 10*x^4 - 15*x^5 + 26*x^6 - 39*x^7 + ...
G.f. = q - q^3 + 3*q^5 - 5*q^7 + 10*q^9 - 15*q^11 + 26*q^13 - 39*q^15 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x^3] QPochhammer[ x^12] / (QPochhammer[ x^2] QPochhammer[ -x]), {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A) * eta(x^3 + A) * eta(x^4 + A) * eta(x^12 + A) / eta(x^2 + A)^4, n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Jan 29 2015
STATUS
approved