OFFSET
1,2
COMMENTS
1 and permutation(?) of even integers. Cf. A074928
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
N:= 200: # for terms before the first term > N
R:= 1: Cands:= 2*[$1..N/2]:
q:= 3:
for nC from nops(Cands) to 1 by -1 do
p:= q; q:= nextprime(q); s:= p*q;
found:= false;
for i from 1 to nC do
if isprime(s+Cands[i]) then
found:= true;
R:= R, Cands[i];
Cands:= subsop(i=NULL, Cands);
break
fi
od;
if not found then break fi;
od:
[R]; # Robert Israel, Jun 05 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 17 2005
STATUS
approved
