A319025 Primes p such that W_p == 2 (mod p), where W_p = A007619(n) and p = prime(n).
19, 1187, 14296621, 16556218163369
Offset: 1
Links
- Edgar Costa, Robert Gerbicz, and David Harvey, A search for Wilson primes, Mathematics of Computation 83 (2014) 3071-3091.
- R. Gy, Generalized Lerch Primes, Integers: Electronic Journal of Combinatorial Number Theory 18, (2018), #A10.
Programs
-
PARI
forprime(p=1, , if(Mod(((p-1)!+1)/p, p)==2, print1(p, ", ")))
Comments