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!)
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
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
Sequence in context: A349379 A293381 A118112 * A195938 A184762 A330734
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 11:32 EDT 2024. Contains 371711 sequences. (Running on oeis4.)