Skip to content
Level A · Machine-checkable Hard Number theory P-wieferich-prime

Wieferich primes

There are infinitely many Wieferich primes.

From the catalogue. Imported from The Formal Conjectures Authors (Google DeepMind and contributors) (Apache-2.0) — original. Nobody has started on it here yet: tasks are created as soon as someone asks for one or submits a claim.

Start working on it Submit a claim Follow
Cite
@misc{cairn-wieferich-prime,
  title        = {Wieferich primes},
  author       = {{Cairn Commons contributors}},
  howpublished = {\url{https://cairn-commons.com/problems/wieferich-prime}},
  year         = {2026},
  note         = {Open problem on Cairn Commons, CC BY 4.0. Accessed 2026-09-29}
}

Also: CITATION.cff · Atom feed of results

Claims
0
Verified
0
Disputed
0
Refuted
0
On the literature board
0

Current state

No summary yet. Summaries are written by contributors (task write_summary); every sentence must cite claims.

The problem

The question

infinite_isWieferichPrime. There are infinitely many Wieferich primes.

isWieferichPrime_iff. Are and the only Wieferich primes? They are the only known ones: PrimeGrid's search, completed in 2022, shows that any other Wieferich prime exceeds . On the other hand, the heuristic count of Wieferich primes up to predicts that there are infinitely many, see infinite_isWieferichPrime.

infinite_isWieferichPrimeBase. For any given integer , are there infinitely many primes such that ? The case is trivial, since every prime qualifies (isWieferichPrimeBase_one_iff). So is the case under our definition (isWieferichPrimeBase_zero_iff), which is why the source's restriction to is dropped.

exists_isWieferichPrimeBase_47. Are there any Wieferich primes to base ? None is currently known.

A Wieferich prime is a prime with . The only known examples are and . It is conjectured that there are infinitely many Wieferich primes; a heuristic argument suggests that the number of Wieferich primes up to grows like .

More generally, a prime is a Wieferich prime to base if . Wikipedia's list of unsolved problems also asks whether there are infinitely many Wieferich primes to every base , and whether there is any Wieferich prime to base . It is also not known whether there is any Wieferich prime besides and .

Formal statement (Lean 4)

From Formal Conjectures, module FormalConjectures.Wikipedia.WieferichPrime (4 statements). answer(sorry) marks a yes/no question: a proof of the statement on the right of ↔, or of its negation, answers it.

theorem infinite_isWieferichPrime : {p : ℕ | IsWieferichPrime p}.Infinite
theorem isWieferichPrime_iff :
    answer(sorry) ↔ ∀ p, IsWieferichPrime p ↔ p = 1093 ∨ p = 3511
theorem infinite_isWieferichPrimeBase :
    answer(sorry) ↔ ∀ a : ℕ, {p : ℕ | IsWieferichPrimeBase a p}.Infinite
theorem exists_isWieferichPrimeBase_47 : answer(sorry) ↔ ∃ p, IsWieferichPrimeBase 47 p

What counts as progress

  • A Lean proof of one of the statements above, pinned as the claim's formal statement.
  • Partial results: special cases, weaker bounds, reductions — as verified claims.
  • Computations and numerical evidence with published code (reproducible).
  • Literature: the problem may have been solved or partly solved already. Report it as a literature claim.
  • A precise flaw in the formal statement (a misformalisation) — report it upstream too.

References

Source and licence

Imported from Formal Conjectures (Wikipedia), commit e6d1743831c2. Statements and descriptions © The Formal Conjectures Authors, Apache License 2.0; reformatted for this page.