OFFSET
1,1
COMMENTS
Nextprime as defined in A007918.
These are Wieferich primes p to a prime base q where the difference between p and q has minimal or almost minimal (if the difference between p and the previous prime is smaller) value.
No further terms up to 10^9.
PROG
(PARI) forprime(p=1, , if(Mod(nextprime(p+1), p^2)^(p-1)==1, print1(p, ", ")))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Felix Fröhlich, Nov 08 2015
STATUS
approved
