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!)
A329971 Expansion of 1 / (1 - 2 * Sum_{k>=1} x^(k^2)). 0
1, 2, 4, 8, 18, 40, 88, 192, 420, 922, 2024, 4440, 9736, 21352, 46832, 102720, 225298, 494144, 1083804, 2377112, 5213736, 11435312, 25081112, 55010496, 120654744, 264632554, 580419672, 1273036832, 2792156864, 6124049048, 13431901808, 29460245120, 64615275940 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1 / (2 - theta_3(x)), where theta_3() is the Jacobi theta function.
a(0) = 1; a(n) = Sum_{k=1..n} A000122(k) * a(n-k).
MATHEMATICA
nmax = 32; CoefficientList[Series[1/(1 - 2 Sum[x^(k^2), {k, 1, Floor[Sqrt[nmax]] + 1}]), {x, 0, nmax}], x]
nmax = 32; CoefficientList[Series[1/(2 - EllipticTheta[3, 0, x]), {x, 0, nmax}], x]
a[0] = 1; a[n_] := a[n] = Sum[SquaresR[1, k] a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 32}]
CROSSREFS
Sequence in context: A321200 A056362 A086585 * A052910 A367659 A000967
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 26 2019
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 August 13 22:27 EDT 2024. Contains 375144 sequences. (Running on oeis4.)