OFFSET
0,2
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 phi(x) * c(x) * (1/3) * x^(-1/3) in powers of x where phi() is a Ramanujan theta function (A000122) and c() is a cubic AGM theta function (A005882).
Expansion of q^(-1/3) * eta(q^2)^5 * eta(q^3)^3 / (eta(q)^3 * eta(q^4)^2) in powers of q.
Euler transform of period 12 sequence [3, -2, 0, 0, 3, -5, 3, 0, 0, -2, 3, -3, ...].
EXAMPLE
G.f. = 1 + 3*x + 4*x^2 + 4*x^3 + 4*x^4 + 7*x^5 + 8*x^6 + 4*x^7 + 5*x^8 + ...
G.f. = q + 3*q^4 + 4*q^7 + 4*q^10 + 4*q^13 + 7*q^16 + 8*q^19 + 4*q^22 + ...
MATHEMATICA
eta[q_]:= q^(1/24)*QPochhammer[q]; a[n_] := SeriesCoefficient[q^(-1/3)* eta[q^2]^5*eta[q^3]^3/(eta[q]^3*eta[q^4]^2), {q, 0, n}]; Table[a[n], {n, 0, 50}] (* G. C. Greubel, Mar 16 2018 *)
a[n_]:= SeriesCoefficient[EllipticTheta[3, 0, q]*QPochhammer[q^3]^3 /QPochhammer[q], {q, 0, n}]; Table[a[n], {n, 0, 50}] (* G. C. Greubel, Mar 18 2018 *)
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^2 + A)^5 * eta(x^3 + A)^3 / (eta(x + A)^3 * eta(x^4 + A)^2), n))};
(PARI) q='q+O('q^99); Vec(eta(q^2)^5*eta(q^3)^3/(eta(q)^3*eta(q^4)^2)) \\ Altug Alkan, Mar 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Jul 07 2015
STATUS
approved