OFFSET
0,2
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Expansion of q^(1/2) * eta(q)^2 * eta(q^9)^2 / (eta(q^2) * eta(q^6)^2 * eta(q^18)) in powers of q.
Euler transform of period 18 sequence [ -2, -1, -2, -1, -2, 1, -2, -1, -4, -1, -2, 1, -2, -1, -2, -1, -2, 0, ...].
a(3*n + 2) = 0.
EXAMPLE
G.f. = 1 - 2*x + 2*x^4 + 2*x^6 - 4*x^7 - 4*x^9 + 8*x^10 + 5*x^12 + ...
G.f. = 1/q - 2*q + 2*q^7 + 2*q^11 - 4*q^13 - 4*q^17 + 8*q^19 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, x] EllipticTheta[ 4, 0, x^9] / QPochhammer[ x^6]^2, {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^2 * eta(x^9 + A)^2 / (eta(x^2 + A) * eta(x^6 + A)^2 * eta(x^18 + A)), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Aug 11 2015
STATUS
approved