OFFSET
0,2
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 + 2*q - 2*q^2 - 4*q^3 - 4*q^5 + 8*q^7 - 2*q^8 + 6*q^9 + 8*q^10 + ...
MATHEMATICA
a[n_]:= SeriesCoefficient[EllipticTheta[3, 0, q]* EllipticTheta[3, 0, -q^2]*EllipticTheta[3, 0, -q^4], {q, 0, n}]; Table[a[n], {n, 0, 50}] (* G. C. Greubel, Nov 30 2017 *)
PROG
(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A)^7 / (eta(x + A)^2 * eta(x^4 + A) * eta(x^8 + A)), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Sep 03 2014
STATUS
approved