cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A197635 Wieferich-non-Wilson primes: non-Wilson primes that divide their Fermat-Wilson quotient A197633.

Original entry on oeis.org

2, 3, 14771
Offset: 1

Views

Author

Jonathan Sondow, Oct 16 2011

Keywords

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.

Examples

			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

Formula

A197634(A197637(a(n))) = 0.
(((p-1)!+1)/p)^(p-1) == 1 (mod p^2), where p = a(n).