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 q^(1/3) * eta(q)^2 * eta(q^3)^2 / (eta(q^2)^5 * eta(q^6)) in powers of q.
Euler transform of period 6 sequence [-2, 3, -4, 3, -2, 2, ...].
G.f.: Product_{k>0} (1 - x^(3*k)) / ((1 + x^(3*k)) * (1 + x^k)^2 * (1 - x^(2*k))^3).
a(n) = A258093(3*n - 1).
EXAMPLE
G.f. = 1 - 2*x + 4*x^2 - 10*x^3 + 20*x^4 - 36*x^5 + 64*x^6 - 112*x^7 + ...
G.f. = 1/q - 2*q^2 + 4*q^5 - 10*q^8 + 20*q^11 - 36*q^14 + 64*q^17 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x]^2 QPochhammer[ x^3]^2 / ( QPochhammer[ x^2]^5 QPochhammer[ x^6]), {x, 0, n}]; (* Michael Somos, May 25 2015 *)
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x + A)^2 * eta(x^3 + A)^2 / (eta(x^2 + A)^5 * eta(x^6 + A)), n))};
CROSSREFS
KEYWORD
sign
AUTHOR
Michael Somos, May 19 2015
STATUS
approved