OFFSET
0,11
COMMENTS
Number of partitions of n into primes congruent to 1 or 2 mod 4.
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
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 25 2017
STATUS
approved