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 q^(-1/8) * eta(q^4)^6 / (eta(q) * eta(q^2)^2 * eta(q^8)^2) in powers of q.
Euler transform of period 8 sequence [ 1, 3, 1, -3, 1, 3, 1, -1, ...].
a(n) = A132965(2*n).
EXAMPLE
G.f. = 1 + x + 4*x^2 + 5*x^3 + 8*x^4 + 12*x^5 + 17*x^6 + 24*x^7 + 36*x^8 + ...
G.f. = q + q^9 + 4*q^17 + 5*q^25 + 8*q^33 + 12*q^41 + 17*q^49 + 24*q^57 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ -x^2]^2 / QPochhammer[ x], {x, 0, n}];
PROG
(PARI) {a(n) = my(A); if( n<0, 0, A = x * O(x^n); polcoeff( eta(x^4 + A)^6 / (eta(x + A) * eta(x^2 + A)^2 * eta(x^8 + A)^2), n))};
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Nov 09 2015
STATUS
approved