OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 167 is a term because 167, 173, 179, 181 are consecutive primes with 173*181 == 167 (mod 179).
MAPLE
p2:= 2: p3:= 3: p4:=5: count:= 0: R:= NULL:
while count < 100 do
p1:= p2; p2:= p3; p3:= p4; p4:= nextprime(p4);
if p2*p4 -p1 mod p3 = 0 then
count:= count+1;
R:= R, p1;
fi;
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jul 15 2022
STATUS
approved