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)^5 * eta(q^9)^2 * eta(q^36)^2 / (eta(q)^2 * eta(q^4)^2 * eta(q^18)^5))^2 in powers of q.
Euler transform of period 36 sequence [ 4, -6, 4, -2, 4, -6, 4, -2, 0, -6, 4, -2, 4, -6, 4, -2, 4, 0, 4, -2, 4, -6, 4, -2, 4, -6, 0, -2, 4, -6, 4, -2, 4, -6, 4, 0, ...].
Convolution square of A139380.
EXAMPLE
G.f. = 1 + 4*q + 4*q^2 + 4*q^4 + 8*q^5 + 4*q^8 - 8*q^10 - 16*q^11 - 8*q^13 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ (EllipticTheta[ 3, 0, q] / EllipticTheta[ 3, 0, q^9])^2, {q, 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^2 + A)^5 * eta(x^9 + A)^2 * eta(x^36 + A)^2 / (eta(x + A)^2 * eta(x^4 + A)^2 * eta(x^18 + A)^5))^2, n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Aug 17 2009
STATUS
approved