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 f(-q, -q) * f(q, -q) in powers of q where f(,) is the Ramanujan general theta function. - Michael Somos, Jun 21 2015
Expansion of eta(q)^2 * eta(q^4)^2 / (eta(q^2) * eta(q^8)) in powers of q.
Euler transform of period 8 sequence [ -2, -1, -2, -3, -2, -1, -2, -2, ...].
G.f. is a period 1 Fourier series which satisfies f(-1 / (64 t)) = 64 (t/i) g(t) where q = exp(2 Pi i t) and g() is the g.f. for A053692.
G.f.: Product_{k>0} (1 - x^k)^2 * (1 + x^(2*k)) / (1 + x^(4*k)).
a(n) = (-1)^n * A204531(n). a(4*n + 2) = a(4*n + 3) = a(8*n + 4) = 0.
EXAMPLE
G.f. = 1 - 2*q + 4*q^5 - 4*q^8 - 2*q^9 + 4*q^13 + 4*q^16 - 4*q^17 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, q] EllipticTheta[ 4, 0, q^4], {q, 0, n}];
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^2 + A) * eta(x^8 + A)), n))};
(PARI) {a(n) = my(A, p, e); if( n<1, n==0, A = factor(n); 2 * (-1)^(n%8==1) * prod( k=1, matsize(A)[1], [p, e] = A[k, ]; if( p==2, 2 * (e>2) * (-1)^(e<4), p%4==1, (e+1), !(e%2))))};
(Magma) A := Basis( ModularForms( Gamma1(64), 1), 85); A[1] - 2*A[2] + 4*A[6] - 4*A[9] - 2*A[10] + 4*A[14] + 4*A[17] - 4*A[18] - 6*A[26] + 4*A[30] - 4*A[35] + 4*A[36]; /* Michael Somos, Jun 21 2015 */
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Sep 08 2014
STATUS
approved