login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A245552 G.f.: Sum_{n>=0} (2*n+1)*x^(n^2+n+1). 3
0, 1, 0, 3, 0, 0, 0, 5, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

Related to g.f. for A053187.

Apart from signs and a factor of 2, this is the classical Jacobi theta-function theta'_1(q), see A002483.

LINKS

Antti Karttunen, Table of n, a(n) for n = 0..10101

FORMULA

a(2*n+1) = A198954(n), a(2*n) = 0.- Robert Israel, Aug 05 2014

MATHEMATICA

Join[{0}, Flatten[Table[Join[{n, PadRight[{}, n, 0]}], {n, 1, 19, 2}]]] (* Harvey P. Dale, Dec 14 2014 *)

PROG

(PARI)

A198954(n) = { my(m); if(issquare(8*n + 1, &m), m, 0) }; \\ This function from Michael Somos

A245552(n) = if(!(n%2), 0, A198954((n-1)/2)); \\ After Robert Israel's formula - Antti Karttunen, Jul 24 2017

CROSSREFS

Cf. A002483, A053187, A198954.

Sequence in context: A096133 A293381 A118112 * A195938 A184762 A081805

Adjacent sequences:  A245549 A245550 A245551 * A245553 A245554 A245555

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Aug 02 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 02:29 EST 2019. Contains 329911 sequences. (Running on oeis4.)