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!)
A281154 Expansion of (Sum_{k>=2} x^(k^2))^2. 1
0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 2, 2, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 2, 2, 0, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 2, 0, 0, 2, 0, 0, 0, 1, 2, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 4, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 2, 1, 0, 2, 0, 0, 0, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,14
COMMENTS
Number of ways to write n as an ordered sum of 2 squares > 1.
LINKS
FORMULA
G.f.: (Sum_{k>=2} x^(k^2))^2.
G.f.: (1/4)*(1 + 2*x - theta_3(0,x))^2, where theta_3 is the 3rd Jacobi theta function.
EXAMPLE
G.f. = x^8 + 2*x^13 + x^18 + 2*x^20 + 2*x^25 + 2*x^29 + x^32 + 2*x^34 + 2*x^40 + ...
a(13) = 2 because we have [9, 4] and [4, 9].
MATHEMATICA
nmax = 105; CoefficientList[Series[Sum[x^k^2, {k, 2, nmax}]^2, {x, 0, nmax}], x]
CoefficientList[Series[(1 + 2 x - EllipticTheta[3, 0, x])^2/4, {x, 0, 105}], x]
CROSSREFS
Sequence in context: A328496 A035202 A227835 * A245536 A291203 A256852
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jan 16 2017
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 18 13:10 EDT 2024. Contains 371780 sequences. (Running on oeis4.)