OFFSET
0,2
COMMENTS
Entries of 0 are conjectural. If nonzero they are greater than 10^5.
EXAMPLE
a(3) = 15 because 15 has exactly 3 decompositions as the sum of 3 primes: 2+2+11 = 3+5+7 = 5+5+5, and it is the smallest odd number that does.
MAPLE
N:= 10^5:
P:= select(isprime, [2, seq(i, i=3..N, 2)]):
nP:=nops(P):
V:= Vector(N):
for i from 1 to nP do
for j from i to nP while P[i]+P[j] <= N do
for k from j to nP do
n:= P[i]+P[j]+P[k];
if n > N then break fi;
V[n]:= V[n]+1;
od od od:
R:= Vector(300):
for i from 1 to N by 2 do
if V[i] <= 300 and V[i] > 0 and R[V[i]] = 0 then R[V[i]]:= i fi
od:
convert(R, list);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Sep 02 2021
STATUS
approved