Wolstenholme prime

Wolstenholme's theorem is a congruence relation satisfied by all prime numbers greater than 3.

Interest in these primes first arose due to their connection with Fermat's Last Theorem.

Wolstenholme primes are also related to other special classes of numbers, studied in the hope to be able to generalize a proof for the truth of the theorem to all positive integers greater than two.

The search for Wolstenholme primes began in the 1960s and continued over the following decades, with the latest results published in 2022.

Empirically one may assume that the remainders of Wp modulo p are uniformly distributed in the set {0, 1, ..., p–1}.