Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 472

Source:Erdős Problems · erdosproblems.com/472
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Given a finite sequence of primes q1<⋯<qmq_1<\cdots<q_m, extend it by taking qn+1q_{n+1} to be the smallest prime of the form qn+qi−1q_n+q_i-1 for n≥mn\geq m. Is there an initial sequence for which this process continues forever?

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:question
Cite as:NS.02229 [math.NT] · NS.02229v1 for this version
Declaration:Erdos472.erdos_472
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:5efd3df6db7b98ba7ee4d47c1ab4294c67b316cc17f9f449d87044aa24ccd8e7
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/472.lean

Formal statement

theorem erdos_472 : ∃ m : ℕ, ∃ q : ℕ → ℕ, UlamPrimeExtension m q
Show the full Challenge.lean (60 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 472

*Reference:* [erdosproblems.com/472](https://www.erdosproblems.com/472)
-/

@[expose] public section

namespace Erdos472

/-- The initial segment $q_0,\ldots,q_{m-1}$ is a strictly increasing sequence of primes. -/
def InitialPrimeSegment (m : ℕ) (q : ℕ → ℕ) : Prop :=
  0 < m ∧
    (∀ i : ℕ, i < m → Nat.Prime (q i)) ∧
      ∀ i j : ℕ, i < j → j < m → q i < q j

/-- The prime $r$ is an eligible next term after $q_{\mathrm{prev}}$. -/
def EligibleNextPrime (q : ℕ → ℕ) (prev t r : ℕ) : Prop :=
  Nat.Prime r ∧
    q prev < r ∧
      ∃ i : ℕ, i < t ∧ r = q prev + q i - 1

/-- After the initial segment, each term is the least eligible next prime. -/
def UlamPrimeExtension (m : ℕ) (q : ℕ → ℕ) : Prop :=
  InitialPrimeSegment m q ∧
    ∀ t : ℕ,
      m ≤ t →
        IsLeast {r : ℕ | EligibleNextPrime q (t - 1) t r} (q t)

/--
Given a finite sequence of primes $q_1<\cdots<q_m$, extend it by taking $q_{n+1}$ to be the
smallest prime of the form $q_n+q_i-1$ for $n\geq m$. Is there an initial sequence for which
this process continues forever?
-/
@[category research open, question, AMS 11]
theorem erdos_472 : ∃ m : ℕ, ∃ q : ℕ → ℕ, UlamPrimeExtension m q := by
  sorry

end Erdos472

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos472.erdos_472 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_472 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-472
nosorry submit erdos-472 nosorry/erdos-472/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.