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 - 3*q + 6*q^2 - 12*q^3 + 24*q^4 - 45*q^5 + 78*q^6 - 132*q^7 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ 4 EllipticTheta[ 2, 0, q^(3/2)] / EllipticTheta[ 2, 0, q^(1/2)]^3, {q, 0, n}]; (* Michael Somos, Jun 20 2015 *)
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^3 * eta(x^6 + A )^2 / ( eta(x^2 + A)^6 * eta(x^3 + A) ), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Sep 07 2007
STATUS
approved