OFFSET
0,7
COMMENTS
REFERENCES
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part III, Springer, 2012, see p. 12, Entry 2.1.3, Equation (2.1.22).
Srinivasa Ramanujan, The Lost Notebook and Other Unpublished Papers, Narosa Publishing House, New Delhi, 1988, p. 23, equation 4.
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^5) * f(-x, -x^4) / f(-x) in powers of x where f(,) is the Ramanujan general theta function.
Expansion of f(-x^5) * H(x) in powers of x where f() is a Ramanujan theta funcation and H() is a Rogers-Ramanujan function. - Michael Somos, Jul 09 2015
Euler transform of period 5 sequence [ 0, 1, 1, 0, -1, ...].
G.f.: Product_{k>0} (1 - x^(5*k)) / ((1 - x^(5*k-3)) * (1 - x^(5*k-2))).
EXAMPLE
G.f. = 1 + x^2 + x^3 + x^4 + 2*x^6 + x^7 + 2*x^8 + 2*x^9 + 2*x^10 + ...
G.f. = q^47 + q^287 + q^407 + q^527 + 2*q^767 + q^887 + 2*q^1007 + ...
MATHEMATICA
a[ n_] := SeriesCoefficient[ QPochhammer[ x^5] / (QPochhammer[ x^2, x^5] QPochhammer[ x^3, x^5]), {x, 0, n}];
PROG
(PARI) {a(n) = if( n<0, 0, polcoeff( prod(k=1, n, (1 - x^k + x * O(x^n))^[ 1, 0, -1, -1, 0][k%5+1]), n))};
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Jun 24 2015
STATUS
approved