OFFSET
0,16
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
G. E. Andrews, q-series, CBMS Regional Conference Series in Mathematics, 66, Amer. Math. Soc. 1986, see p. 36, Equ. (4.12). MR0858826 (88b:11063).
Michael Somos, Introduction to Ramanujan theta functions
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Expansion of f(-x^2) * f(-x^5) / ( f(-x^4) * f(-x^2, -x^3) ) in powers of x where f(, ) is Ramanujan's general theta function.
Expansion of ( f(-x^11, -x^19) + x^3 * f(-x, -x^29) ) / f(-x^4) in powers of x where f(, ) is Ramanujan's general theta function.
Euler transform of period 20 sequence [ 0, 0, 1, 0, 0, -1, 1, 1, 0, -1, 0, 1, 1, -1, 0, 0, 1, 0, 0, 0, ...].
EXAMPLE
G.f. = 1 + x^3 + x^7 + x^8 + x^11 + x^12 + 2*x^15 + 2*x^16 + 2*x^19 + 2*x^20 + ...
G.f. = q + q^31 + q^71 + q^81 + q^111 + q^121 + 2*q^151 + 2*q^161 + 2*q^191 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x^2, x^4] / (QPochhammer[ x^2, x^5] QPochhammer[ x^3, x^5]), {x, 0, n}]; (* Michael Somos, Oct 04 2015 *)
PROG
(PARI) {a(n) = if( n<0, 0, polcoeff( sum(k=0, sqrtint(n+1) - 1, x^(k^2 + 2*k) / prod(i=1, k, 1 - x^(4*i), 1 + x * O(x^(n - k^2 - 2*k)))), n))};
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Feb 04 2008
STATUS
approved