The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132211 Coefficients of a Ramanujan q-series. 1
1, -1, 0, 0, 0, 0, -1, 1, -1, 1, -1, 2, -2, 2, -2, 2, -2, 2, -2, 2, -2, 2, -1, 1, -1, 0, 1, -1, 1, -2, 3, -4, 4, -5, 7, -8, 8, -9, 11, -12, 12, -13, 15, -16, 16, -17, 19, -20, 19, -20, 22, -22, 21, -21, 22, -22, 20, -19, 20, -19, 16, -14, 14, -12, 8, -5, 3, 0, -5, 10, -13, 17, -24, 30, -34, 40, -48, 55, -61, 68, -77, 86, -93, 101 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,12
REFERENCES
S. Ramanujan, The Lost Notebook and Other Unpublished Papers, Narosa Publishing House, New Delhi, 1988, p. 10
LINKS
FORMULA
G.f.: Sum_{k>=0} (-1)^k * x^(k*(k + 1)/2) / (x^2; x^2)_n.
EXAMPLE
G.f. = 1 - x - x^6 + x^7 - x^8 + x^9 - x^10 + 2*x^11 - 2*x^12 + 2*x^13 - 2*x^14 + ...
MATHEMATICA
a[ n_] := If[ n < 0, 0, SeriesCoefficient[ Sum[ (-1)^k x^(k (k + 1)/2) / QPochhammer[ x^2, x^2, k], {k, 0, Sqrt[8 n + 1]}], {x, 0, n}]]; (* Michael Somos, Nov 01 2015 *)
PROG
(PARI) {a(n) = my(t); if( n<0, 0, t = 1 + x * O(x^n); polcoeff( sum(k=1, (sqrtint(8*n + 1) - 1)\2, t = -t * x^k / (1 - x^(2*k)) + x * O(x^n), 1), n))};
CROSSREFS
Convolution with A015128 is A143184. - Michael Somos, Dec 13 2022
Sequence in context: A035931 A330634 A254524 * A067441 A357299 A263109
KEYWORD
sign
AUTHOR
Michael Somos, Aug 13 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 00:00 EDT 2024. Contains 372758 sequences. (Running on oeis4.)