OFFSET
1,1
COMMENTS
Conjecture: includes all primes > 61. - Robert Israel, May 24 2026
Contains all primes p such that 2*p can be written as the sum of 2 distinct primes in at least 5 ways (cf. A002375).
MAPLE
filter:= proc(p) local a, t;
if not isprime(p) then return false fi;
if isprime(2*p-3) then t:= 1 else t:= 0 fi:
for a from 6 to p-4 by 6 do
if isprime(p+a) and isprime(p-a) then
t:= t+1; if t = 4 then return true fi fi od;
false
end proc:
select(filter, [seq(i, i=3..1000, 2)]); # Robert Israel, May 24 2026
MATHEMATICA
s=""; q=1; For[i=2, i<10^2, p=Prime[i]; For[a=2, a<p, If[PrimeQ[p-a]&&PrimeQ[p+a], For[b=a+2, b<p, If[PrimeQ[p-b]&&PrimeQ[p+b], For[c=b+2, c<p, If[PrimeQ[p-c]&&PrimeQ[p+c], For[d=c+2, d<p, If[p>q&&PrimeQ[p-d]&&PrimeQ[p+d], (*Print[p, ":", a, ", ", b, ", ", c, ", ", d]; *)s=s<>ToString[p]<>", "; q=p]; d=d+2]]; c=c+2]]; b=b+2]]; a=a+2]; i++ ]; Print[s]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Apr 27 2008; corrected May 02 2008
STATUS
approved
