OFFSET
1,1
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 19 is a member because 19 is prime, the previous and following primes are 17 and 23, and (17*23) mod 19 = 11 is prime.
MAPLE
R:= NULL: p:= 0: q:= 2: r:= 3:
count:= 0:
while count < 100 do
p:= q; q:= r; r:= nextprime(r);
if isprime(p*r mod q) then count:= count+1; R:= R, q; fi;
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Nov 02 2020
STATUS
approved