OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 241 is a term because it is prime, the next two primes are 251 and 257, and 2*241+251 = 733 and 2*241+257 = 739 are prime.
MAPLE
R:= NULL: count:= 0:
q:= 2: r:= 3:
while count < 100 do
p:= q; q:= r; r:= nextprime(r);
if isprime(2*p+q) and isprime(2*p+r) then
count:= count+1; R:= R, p;
fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jan 01 2021
STATUS
approved