Documentation

FormalConjectures.Wikipedia.WolstenholmePrime

Wolstenholme Prime #

Reference: Wikipedia

theorem WolstenholmePrime.wolstenholme_theorem (p : ) (h : p > 3) (hp : Nat.Prime p) :
(2 * p - 1).choose (p - 1) 1 [MOD p ^ 3]

Wolstenholme's theorem states that any prime $p > 3$ satisfies $\binom{2p-1}{p-1} \equiv 1 (\pmod{p^3})$.

Reference: Wikipedea

A prime $p > 7$ is called a Wolstenholme prime if $\binom{2p-1}{p-1} \equiv 1 (\pmod{p^4})$.

Equations
Instances For

    Two known Wolstenholme primes: 16843 and 2124679.

    Equivalently, a prime $p > 7$ is a Wolstenholme prime if it divides the numerator of the Bernoulli number $B_{p-3}$.

    Another equivalent definition is that a prime $p > 7$ is a Wolstenholme prime if it $p^3$ divides the numerator of the harmonic number $H_{p-1}$.

    It is conjectured that there are infinitely many Wolstenholme primes.

    Reference: Wikipedia