OFFSET
0,1
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Michael Somos, Introduction to Ramanujan theta functions
S. Cooper and M. D. Hirschhorn, Results of Hurwitz type for three squares. Discrete Math. 274 (2004), no. 1-3, 9-24. See D(q).
Eric Weisstein's World of Mathematics, Ramanujan Theta Functions
FORMULA
Euler transform of period 20 sequence [ 0, 0, 1, 0, 0, -1, 1, 0, 0, -1, 0, 0, 1, -1, 0, 0, 1, 0, 0, -1, ...]. - Michael Somos, Sep 22 2012
G.f.: Sum_{k in Z} x^(5*k^2 + 2*k).
a(3*n + 2) = a(4*n + 1) = a(4*n + 2) = 0. a(4*n + 3) = A205988(n). - Michael Somos, Sep 22 2012
EXAMPLE
1 + x^3 + x^7 + x^16 + x^24 + x^39 + x^51 + x^72 + x^88 + x^115 + x^135 + ...
q + q^16 + q^36 + q^81 + q^121 + q^196 + q^256 + q^361 + q^441 + q^576 + ...
MATHEMATICA
A205633[n_] := SeriesCoefficient[QPochhammer[-q^3, q^10]* QPochhammer[-q^7, q^10]*QPochhammer[q^10, q^10], {q, 0, n}]; Table[A205633[n], {n, 0, 50}] (* G. C. Greubel, Jun 16 2017 *)
PROG
(PARI) {a(n) = issquare(5*n + 1)} /* Michael Somos, Sep 22 2012 */
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 02 2012
STATUS
approved