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!)
A111900 Number of partitions of n into distinct squares of primes. 7
1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,411
COMMENTS
a(n) <= 1 for n < 410.
LINKS
FORMULA
G.f.: Product_{k>=1} (1 + x^(prime(k)^2)). - Ilya Gutkovskiy, Dec 26 2016
EXAMPLE
G.f. = 1 + x^4 + x^9 + x^13 + x^25 + x^29 + x^34 + x^38 + x^49 + x^53 + x^58 + x^62 + ...
410 = 7^2 + 19^2 = 11^2 + 17^2, therefore a(410)=2.
MATHEMATICA
nmax = 100; CoefficientList[Series[Product[1 + x^Prime[k]^2, {k, 1, nmax}], {x, 0, nmax}], x] (* Ilya Gutkovskiy, Jun 15 2017 *)
PROG
(PARI) {a(n) = if(n < 0, 0, polcoeff( prod(k=1, primepi(sqrtint(n)), 1 + x^prime(k)^2 + x*O(x^n)), n))}; /* Michael Somos, Dec 26 2016 */
CROSSREFS
Sequence in context: A015569 A015329 A276791 * A173860 A123192 A120524
KEYWORD
nonn,look
AUTHOR
Reinhard Zumkeller, Aug 20 2005
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 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)