OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 17 is a term because it is prime, the next prime is 19, and (17+2*19)/5 = 11 and 2*17+19 = 53 are prime.
MAPLE
R:= NULL: q:= 2:
while q < 10000 do
p:= q; q:= nextprime(p); s:= p+2*q; t:= 2*p+q;
if (s mod 5 = 0 and isprime(s/5) and isprime(t)) or (t mod 5 = 0 and isprime(s) and isprime(t/5)) then R:= R, p;
fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Mar 24 2022
STATUS
approved