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!)
A339364 Number of partitions of n into an even number of squares. 6
1, 0, 1, 0, 1, 1, 1, 1, 2, 1, 3, 1, 3, 3, 3, 3, 4, 4, 6, 4, 7, 6, 7, 7, 8, 9, 11, 9, 13, 12, 14, 14, 16, 16, 20, 17, 23, 22, 25, 25, 28, 29, 33, 31, 37, 38, 41, 42, 45, 48, 54, 51, 61, 60, 67, 67, 72, 76, 84, 81, 93, 93, 102, 104, 110, 117, 125, 125, 139, 140, 153 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,9
LINKS
FORMULA
G.f.: (1/2) * (Product_{k>=1} 1 / (1 - x^(k^2)) + Product_{k>=1} 1 / (1 + x^(k^2))).
a(n) = (A001156(n) + A292520(n)) / 2.
EXAMPLE
a(10) = 3 because we have [9, 1], [4, 4, 1, 1] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
MATHEMATICA
nmax = 70; CoefficientList[Series[(1/2) (Product[1/(1 - x^(k^2)), {k, 1, Floor[nmax^(1/2)] + 1}] + Product[1/(1 + x^(k^2)), {k, 1, Floor[nmax^(1/2)] + 1}]), {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A368290 A111248 A100714 * A050123 A081386 A213712
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 01 2020
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 July 23 19:43 EDT 2024. Contains 374553 sequences. (Running on oeis4.)