The Fermat quotient , for prime , and the Wilson quotient are integers. If then is a Wilson prime. For odd Lerch proved that $(\sum_{a=1}^{p-1} q_p(a) - w_p)/p\ell_p.p\mid\ell_pp$ is a Lerch prime. A simple Bernoulli-number test for Lerch primes is proven. There are four Lerch primes 3, 103, 839, 2237 up to ; we relate them to the known Wilson primes 5, 13, 563. Generalizations are suggested. Next, if is a non-Wilson prime, then is an integer that we call the Fermat-Wilson quotient of The GCD of all is shown to be 24. If then is a Wieferich prime base ; we give a survey of them. Taking if $p\mid q_p(w_p)p10^7$, namely, 2, 3, 14771. Several open problems are discussed.

生成讲解博客的中文版本

生成AI智能校验的中文版本