OFFSET
1,1
COMMENTS
Primes p such that the product of composites between p and the next prime has prime remainder on division by p.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 73 is a term because 73 is prime, the next prime is 79, (79-73-1)! = 120 and 120 mod 73 = 47 is prime.
MAPLE
R:= NULL: count:= 0: q:= 2:
while count < 100 do
p:= q; q:= nextprime(p);
if isprime((q-p-1)! mod p) then
count:= count+1; R:= R, p;
fi
od:
R;
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Mar 28 2022
STATUS
approved