login
A385235
a(n) is the number of partitions of n into primes of the form 4*k + 3.
2
1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 3, 5, 5, 5, 6, 6, 7, 7, 7, 8, 9, 9, 9, 11, 11, 12, 13, 14, 15, 15, 17, 17, 19, 20, 20, 23, 24, 25, 26, 29, 30, 30, 34, 35, 37, 39, 41, 44, 46, 49, 51, 55, 57, 59, 64, 66, 70, 73, 77
OFFSET
0,15
COMMENTS
a(0) = 1 corresponds to the empty partition {}.
FORMULA
G.f.: 1 / Product_{k>=1} (1-x^A002145(k)).
a(n) + A385234(n) <= A000607(n) for n >= 1.
a(n) >= A024942(n).
EXAMPLE
The a(14) = 2 partitions of 14 into primes of the form 4*k + 3 are [3, 11] and [7, 7].
The a(23) = 3 partitions of 23 into primes of the form 4*k + 3 are [23], [3, 3, 3, 3, 11] and [3, 3, 3, 7, 7].
MAPLE
with(gfun):
A385235:=proc(N) # To get the first N terms.
local f, i, g, h, n;
f:=select(x->x mod 4=3, [seq(ithprime(i), i=1..NumberTheory:-pi(N))]);
g:=mul(1/(1-q^f[n]), n=1..nops(f)):
h:=series(g, q, N):
return op(seriestolist(h));
end proc;
A385235(76);
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Huber, Jul 06 2025
STATUS
approved