This site is supported by donations to The OEIS Foundation.

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A282970 Number of partitions of n into primes of form x^2 + y^2 (A002313). 2
 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 3, 2, 4, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 9, 9, 10, 10, 12, 12, 13, 14, 14, 17, 16, 19, 19, 21, 22, 23, 25, 27, 27, 30, 30, 34, 35, 37, 40, 41, 45, 46, 50, 52, 55, 58, 60, 65, 67, 71, 75, 78, 84, 86, 92, 97, 100, 108, 110, 118, 123, 127, 137, 139, 150, 154, 162 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,11 COMMENTS Number of partitions of n into primes congruent to 1 or 2 mod 4. LINKS FORMULA G.f.: Product_{k>=1} 1/(1 - x^A002313(k)). EXAMPLE a(10) = 2 because we have [5, 5] and [2, 2, 2, 2, 2]. MATHEMATICA nmax = 82; CoefficientList[Series[Product[1/(1 - Boole[SquaresR[2, k] != 0 && PrimeQ[k]] x^k), {k, 1, nmax}], {x, 0, nmax}], x] PROG (PARI) Vec(prod(k=1, 82, (1/(1 - (isprime(k) && k%4<3)*x^k))) + O(x^83)) \\ Indranil Ghosh, Mar 15 2017 CROSSREFS Cf. A000607, A002313, A024941, A281273. Sequence in context: A147657 A029232 A221531 * A025807 A120254 A263020 Adjacent sequences:  A282967 A282968 A282969 * A282971 A282972 A282973 KEYWORD nonn AUTHOR Ilya Gutkovskiy, Feb 25 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 17 16:11 EST 2019. Contains 319235 sequences. (Running on oeis4.)