OFFSET
0,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..2500
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Expansion of f(-x, -x^5) * f(x^6, x^6) / f(-x, -x) in powers of x where f(,) is Ramanujan's general theta function.
Expansion of q^(-1/3) * eta(q^12)^5 / (eta(q) * eta(q^3) * eta(q^24)^2) in powers of q.
Euler transform of period 24 sequence [ 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, -3, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, -1, ...].
a(n) = A097196(2*n).
EXAMPLE
G.f. = 1 + x + 2*x^2 + 4*x^3 + 6*x^4 + 9*x^5 + 16*x^6 + 22*x^7 + 33*x^8 + ...
G.f. = q + q^4 + 2*q^7 + 4*q^10 + 6*q^13 + 9*q^16 + 16*q^19 + 22*q^22 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ EllipticTheta[ 3, 0, x^6] EllipticTheta[ 2, 0, x^(3/2)] / (2 x^(3/8) QPochhammer[ x]), {x, 0, n}];
eta[q_] := q^(1/24)*QPochhammer[q]; With[{nmax = 50}, CoefficientList[ Series[q^(-1/3)*eta[q^12]^5/(eta[q]*eta[q^3]*eta[q^24]^2), {x, 0, nmax}], x]] (* G. C. Greubel, Aug 02 2018 *)
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^12 + A)^5 / (eta(x + A) * eta(x^3 + A) * eta(x^24 + A)^2), n))};
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Jul 25 2015
STATUS
approved