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
Expansion of q^(-1/3) * (eta(q)^2 * eta(x^4) / eta(x^2))^2 in powers of q.
Euler transform of period 4 sequence [ -4, -2, -4, -4, ...].
a(n) = (-1)^n * A106508(n). a(4*n + 3) = a(8*n + 5) = 0.
G.f.: Product_{k>0} (1 + (-x)^k)^4 * (1 - x^(2*k))^4 / (1 + x^(2*k))^2.
EXAMPLE
G.f. = 1 - 4*x + 4*x^2 + 2*x^4 - 8*x^6 - 5*x^8 + 16*x^9 + 4*x^10 - 10*x^12 + ...
G.f. = q - 4*q^4 + 4*q^7 + 2*q^13 - 8*q^19 - 5*q^25 + 16*q^28 + 4*q^31 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ (QPochhammer[ x]^2 QPochhammer[ x^4] / QPochhammer[ x^2])^2, {x, 0, n}]; (* Michael Somos, Sep 02 2015 *)
a[ n_] := SeriesCoefficient[ (1/4) x^(-1/2) EllipticTheta[ 2, Pi/4, x^(1/2)]^4 QPochhammer[ x^2, x^4]^2, {x, 0, n}]; (* Michael Somos, Sep 02 2015 *)
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( (eta(x + A)^2 * eta(x^4 + A) / eta(x^2 + A))^2, n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Mar 05 2011
STATUS
approved