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 theta_4(q) * theta_4(q^3) in powers of q.
Expansion of (4 * a(q^4) - a(q)) / 3 = (4 * b(q^4) - b(q)) * b(q) / (3 * b(q^2)) in powers of q where a(), b() are cubic AGM theta functions. - Michael Somos, Nov 09 2013
Expansion of (eta(q) * eta(q^3))^2 / (eta(q^2) * eta(q^6)) in powers of q.
Euler transform of period 6 sequence [ -2, -1, -4, -1, -2, -2, ...].
Moebius transform is period 12 sequence [ -2, 2, 0, 6, 2, 0, -2, -6, 0, -2, 2, 0, ...]. - Michael Somos, Nov 09 2013
a(n) = -2*b(n) where b(n) is multiplicative and b(2^e) = -3 * (1 + (-1)^e) / 2 if e>0, b(3^e) = 1, b(p^e) = 1+e if p == 1 (mod 6), b(p^e) = (1 +(-1)^e) / 2 if p == 5 (mod 6).
Given g.f. A(x), then B(x) = A(x)^2 satisfies 0 = f(B(x), B(x^2), B(x^4)) where f(u, v, w) = v*(u + v)^2 - 4*u * (w^2 - v*w + v^2).
G.f. is a period 1 Fourier series which satisfies f(-1 / (12 t)) = 192^(1/2) (t/i) g(t) where q = exp(2 Pi i t) and g() is the g.f. for A033762. - Michael Somos, Nov 09 2013
G.f.: 1 - 2*(Sum_{k>0} x^k / (1 + x^k + x^(2*k)) - 4 * x^(4*k) / (1 + x^(4*k) + x^(8*k))).
G.f.: (Sum_{k in Z} (-x)^(k^2)) * (Sum_{k in Z} (-x)^(3*k^2)).
EXAMPLE
G.f. = 1 - 2*q - 2*q^3 + 6*q^4 - 4*q^7 - 2*q^9 + 6*q^12 - 4*q^13 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, q] EllipticTheta[ 4, 0, q^3], {q, 0, n}] (* Michael Somos, Nov 09 2013 *)
PROG
(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( (eta(x + A) * eta(x^3 + A))^2 / (eta(x^2 + A) * eta(x^6 + A)), n))}
(PARI) {a(n) = local(A, p, e); if( n<1, n==0, A = factor(n); -2 * prod( k=1, matsize(A)[1], if(p = A[k, 1], e = A[k, 2]; if( p==2, -3 * ((e+1)%2), if( p==3, 1, if( p%6==1, e+1, (e+1)%2))))))} /* Michael Somos, Nov 09 2013 */
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Feb 09 2006
STATUS
approved