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 * eta(q^4)^4 / (eta(q^2) * eta(q^8)^2) in powers of q.
Euler transform of period 8 sequence [ -2, -1, -2, -5, -2, -1, -2, -3, ...].
a(n) = (-1)^(mod(n,4) = 1) * A116597(n).
Empirical: Sum_{n>=0} a(n) / exp(n*Pi) = (1/16) * 2^(3/8) * (2+sqrt(2))^2 * Gamma(5/8)^3 / Gamma(7/8)^3 / Pi^(3/4) = A388862. - Simon Plouffe, Sep 21 2025
EXAMPLE
G.f. = 1 - 2*q - 2*q^4 + 8*q^5 - 4*q^8 - 10*q^9 + 8*q^12 + 8*q^13 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 4, 0, q] EllipticTheta[ 4, 0, q^4]^2, {q, 0, n}]; Table[a[n], {n, 0, 80}]
PROG
(PARI) {a(n) = local(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^2 * eta(x^4 + A)^4 / (eta(x^2 + A) * eta(x^8 + A)^2), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Sep 03 2014
STATUS
approved
