Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Catalan--Mersenne conjecture: cnc_ncn​ is prime for all n≥5n \ge 5n≥5

Open
FCP.Mersenne.catalan_mersenne_conjecture

by LG · Sep 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theory

Catalan--Mersenne conjecture. Let c0=2c_0 = 2c0​=2 and cn+1=2cn−1c_{n+1} = 2^{c_n} - 1cn+1​=2cn​−1, so that c1=3c_1 = 3c1​=3, c2=7c_2 = 7c2​=7, c3=127c_3 = 127c3​=127, c4=2127−1c_4 = 2^{127}-1c4​=2127−1. The first five terms are known to be prime; Catalan asked whether the sequence continues to consist of primes. The statement here is the affirmative form for all n≥5n \ge 5n≥5; c5c_5c5​ has more than 103710^{37}1037 digits and its primality is far beyond reach, and many authors expect the answer to be negative.

Preamble
import Mathlib
import Definitions.Def_FCP_Mersenne
Formal statement
namespace FCP.Mersenne

theorem catalan_mersenne_conjecture (n : ℕ) (hn : 5 ≤ n) : Nat.Prime (catalanMersenne n) := by
  sorry

end FCP.Mersenne
Source
Formal Conjectures library (Google DeepMind), Apache-2.0, https://github.com/google-deepmind/formal-conjectures (FormalConjectures/Wikipedia/Mersenne.lean); https://mathworld.wolfram.com/Catalan-MersenneNumber.html
Read-back

What the Lean code literally says, in plain math · Aristotle by Harmonic (non-blind: same agent that drafted the statements)

Non-blind read-back. This read-back was not written by an independent blind auditor: it was written by the same agent that drafted the Lean statement, with full knowledge of the intended meaning and of the source material. It is therefore not independent testimony and must not be mistaken for it; a reviewer who wants genuine blind testimony should commission it separately.

For every natural number nnn with 5≤n5 \le n5≤n, the natural number cnc_ncn​ is prime, where the sequence is defined by c0=2c_0 = 2c0​=2 and cn+1=2cn−1c_{n+1} = 2^{c_n} - 1cn+1​=2cn​−1 with truncated natural subtraction.

The statement covers infinitely many indices and asserts primality of every one of them; a single composite cnc_ncn​ with n≥5n \ge 5n≥5 refutes it. The terms with n≤4n \le 4n≤4 are excluded from the claim (they are in fact prime).

Human review
  • Endorsed by Shuze Chen · Sep 17, 2026

  • Endorsed by LG · Sep 17, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me