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 (-2 * a(q) +2 * a(q^2) +3 * a(q^3)) / 3 = b(q) * (b(q) + 2 * b(q^2)) / (3 * b(q^2)) in powers of q where a(), b() are cubic AGM functions.
Expansion of eta(q)^4 * eta(q^6) * eta(q^9)^2 / (eta(q^2)^2 * eta(q^3)^2 * eta(q^18)) in powers of q.
Euler transform of period 18 sequence [ -4, -2, -2, -2, -4, -1, -4, -2, -4, -2, -4, -1, -4, -2, -2, -2, -4, -2, ...].
Moebius transform is period 18 sequence [ -4, 8, 6, -8, 4, -6, -4, 8, 0, -8, 4, 6, -4, 8, -6, -8, 4, 0, ...].
G.f. is a period 1 Fourier series which satisfies f(-1 / (18 t)) = 432^(1/2) (t / i) g(t) where q = exp(2 Pi i t) and g() is g.f. for A193426.
EXAMPLE
G.f. = 1 - 4*q + 4*q^2 + 2*q^3 - 4*q^4 + 4*q^6 - 8*q^7 + 4*q^8 + 2*q^9 + 2*q^12 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, q]^2 EllipticTheta[ 4, 0, q^9] / EllipticTheta[ 4, 0, q^3], {q, 0, n}];
PROG
(PARI) {a(n) = if( n<1, n==0, 2 * if( n%3==1, -2, 1) * sumdiv( n, d, -(-1)^d * kronecker( -3, d)))};
(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^4 * eta(x^6 + A) * eta(x^9 + A)^2 / (eta(x^2 + A)^2 * eta(x^3 + A)^2 * eta(x^18 + A)), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Jul 29 2011
STATUS
approved