login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A197635
Wieferich-non-Wilson primes: non-Wilson primes that divide their Fermat-Wilson quotient A197633.
3
OFFSET
1,1
COMMENTS
A Wieferich prime base a is a prime p satisfying a^(p-1) == 1 (mod p^2). A non-Wilson prime p is called a Wieferich-non-Wilson prime if p is a Wieferich prime base w_p, where w_p = ((p-1)!+1)/p is the Wilson quotient of p.
Michael Mossinghoff has computed that if a 4th Wieferich-non-Wilson prime exists, it is > 10^7.
LINKS
Carlos Rivera, Problem 59. Wieferich-non-Wilson primes, The Prime Puzzles and Problems Connection.
Jonathan Sondow, Lerch Quotients, Lerch Primes, Fermat-Wilson Quotients, and the Wieferich-non-Wilson Primes 2, 3, 14771, Combinatorial and Additive Number Theory, CANT 2011 and 2012, Springer Proc. in Math. & Stat., vol. 101 (2014), pp. 243-255.
FORMULA
A197634(A197637(a(n))) = 0.
(((p-1)!+1)/p)^(p-1) == 1 (mod p^2), where p = a(n).
EXAMPLE
The first two non-Wilson primes are 2 and 3, whose Fermat-Wilson quotients are 0. Since 2 and 3 divide 0, they are members.
The 1728th non-Wilson prime is prime(1731) = 14771, and A197634(1728) = 0, so 14771 is a member.
CROSSREFS
KEYWORD
nonn,hard,more,bref
AUTHOR
Jonathan Sondow, Oct 16 2011
STATUS
approved