OFFSET
1,1
COMMENTS
LINKS
E. Costa, R. Gerbicz and D. Harvey, A search for Wilson primes, Math. Comp., 83 (2014), 3071-3091.
R. Crandall, K. Dilcher and C. Pomerance, A search for Wieferich and Wilson primes, Math. Comp., 66 (1997), 433-449.
PROG
(PARI) forprime(p=1, 1e9, for(b=0, 9, if(Mod((p-1)!, p^2)==-1-b*p, print1(p, ", "); break({1}))))
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Felix Fröhlich, Nov 22 2014
STATUS
approved