OFFSET
0,3
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(-x, x^2)^2 / psi(-x) in powers of x where psi(), f() are Ramanujan theta functions.
Expansion of q^(1/24) * eta(q) * eta(q^4) * eta(q^6)^10 / (eta(q^2)^3 * eta(q^3)^4 * eta(q^12)^4) in powers of q.
Euler transform of period 12 sequence [ -1, 2, 3, 1, -1, -4, -1, 1, 3, 2, -1, -1, ...].
a(n) = A259538(3*n).
EXAMPLE
G.f. = 1 - x + 2*x^2 + x^3 + x^4 + x^5 + 3*x^6 + x^7 + 2*x^8 + 2*x^9 + ...
G.f. = 1/q - q^23 + 2*q^47 + q^71 + q^95 + q^119 + 3*q^143 + q^167 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 3, 0, x^3] ^2 / QPochhammer[ -x], {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A) * eta(x^4 + A) * eta(x^6 + A)^10 / (eta(x^2 + A)^3 * eta(x^3 + A)^4 * eta(x^12 + A)^4), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, Jul 19 2015
STATUS
approved