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 eta(q)^2 * eta(q^4)^2 * eta(q^16)^2 / (eta(q^2) * eta(q^8)^5) in powers of q.
Euler transform of period 16 sequence [ -2, -1, -2, -3, -2, -1, -2, 2, -2, -1, -2, -3, -2, -1, -2, 0, ...].
G.f.: (Sum_{k in Z} (-1)^k * x^k^2) / (Sum_{k in Z} x^(4 * k^2)).
a(4*n) = 0 unless n=0. a(4*n + 2) = a(4*n + 3) = 0. a(4*n + 1) = -2 * A079006(n).
G.f.: Product_{k>0} (1 + x^(8*k)) / ((1 + x^k)^2 * (1 + x^(2*k)) * (1 + x^(4*k))^3). - Michael Somos, Dec 11 2016
EXAMPLE
G.f. = 1 - 2*q + 4*q^5 - 10*q^9 + 20*q^13 - 36*q^17 + 64*q^21 - 110*q^25 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, q] / EllipticTheta[ 3, 0, q^4], {q, 0, n}]; (* Michael Somos, Dec 11 2016 *)
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^2 * eta(x^4 + A)^2 * eta(x^16 + A)^2 / (eta(x^2 + A) * eta(x^8 + A)^5), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Feb 29 2012
STATUS
approved