OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 11 is a term because the next prime is 13 and 2*11+3*13 = 61 and 3*11+2*13 = 59 are prime.
MAPLE
R:= NULL: count:= 0:
q:= 2:
while count < 100 do
p:= q; q:= nextprime(p);
if isprime(2*p+3*q) and isprime(3*p+2*q) then
count:= count+1; R:= R, p
fi
od:
R;
PROG
(PARI) isok(p) = isprime(p) && (q=nextprime(p+1)) && isprime(2*p+3*q) && isprime(3*p+2*q); \\ Michel Marcus, Feb 07 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Feb 06 2021
STATUS
approved