The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A286934 Number of partitions of n into centered square primes (A027862). 1
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 2, 0, 1, 1, 1, 2, 0, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 3, 1, 1, 2, 2, 3, 2, 1, 2, 2, 3, 2, 1, 3, 2, 3, 2, 2, 3, 3, 3, 3, 2, 3, 3, 3, 4, 2, 3, 3, 4, 4, 3, 3, 4, 4, 4, 3, 3, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,42
LINKS
Eric Weisstein's World of Mathematics, Centered Square Number
FORMULA
G.f.: Product_{k>=1} 1/(1 - x^A027862(k)).
EXAMPLE
a(41) = 2 because we have [41] and [13, 13, 5, 5, 5].
MATHEMATICA
nmax = 100; CoefficientList[Series[Product[1/(1 - x^k), {k, Select[Range[nmax]^2 + (Range[nmax] + 1)^2, PrimeQ]}], {x, 0, nmax}], x]
CROSSREFS
Sequence in context: A226194 A053692 A341024 * A282714 A280634 A281491
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 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 June 2 03:32 EDT 2024. Contains 373032 sequences. (Running on oeis4.)