Is Erdős Problem #5 solved?
Open. erdosproblems.com lists it as open (their entry updated 31 Aug 2025).
The problem
erdosproblems.com/5 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
Let \(C\geq 0\). Is there an infinite sequence of \(n_i\) such that $$\lim_{i\to \infty}\frac{p_{n_i+1}-p_{n_i}}{\log n_i}=C?$$
We formalise "an infinite sequence of \(n_i\)" as a strictly monotone sequence of indices n : ℕ → ℕ. Note that the numerator is the gap between the two consecutive primes \(p_{n_i}\) and \(p_{n_i+1}\), which is primeGap (n i), and not the gap between the primes indexed by two consecutive members of the sequence.
In Lean:
theorem erdos_5 : ∀ C : ℝ, 0 ≤ C →
∃ n : ℕ → ℕ, StrictMono n ∧ Tendsto (fun i => normalizedGap (n i)) atTop (𝓝 C)Stated in Lean
in the atlas →14 statements (the problem, its parts and variants) from Formal Conjectures. A proof submitted here is built and checked by Lean's kernel on our node.
Erdos5.erdos_5opentheorem erdos_5 : ∀ C : ℝ, 0 ≤ C → ∃ n : ℕ → ℕ, StrictMono n ∧ Tendsto (fun i => normalizedGap (n i)) atTop (𝓝 C)Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F5%23Erdos5.erdos_5Erdos5.erdos_5.variants.denseopentheorem erdos_5.variants.dense : Ici (0 : ℝ) ⊆ closure limitPointSet
Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F5%23Erdos5.erdos_5.variants.denseErdos5.erdos_5.variants.pintzsolved upstreamtheorem erdos_5.variants.pintz : ∃ c > (0 : ℝ), Icc 0 c ⊆ limitPointSet
Erdos5.erdos_5.variants.merikoskisolved upstreamtheorem erdos_5.variants.merikoski (β : Fin 4 → ℝ) (hβmono : Monotone β) : ∃ i j, i < j ∧ β j - β i ∈ limitPointSetErdos5.erdos_5.variants.erdos_riccisolved upstreamtheorem erdos_5.variants.erdos_ricci : 0 < volume limitPointSet
Erdos5.erdos_5.variants.westzynthiussolved upstreamtheorem erdos_5.variants.westzynthius : ∃ n : ℕ → ℕ, StrictMono n ∧ Tendsto (fun i => normalizedGap (n i)) atTop atTopErdos5.erdos_5.variants.limit_point_setopentheorem erdos_5.variants.limit_point_set : limitPointSet = Ici 0
Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F5%23Erdos5.erdos_5.variants.limit_point_setErdos5.erdos_5.variants.hildebrand_maiersolved upstreamtheorem erdos_5.variants.hildebrand_maier : ∀ C : ℝ, ∃ x ∈ limitPointSet, C < x
Erdos5.erdos_5.variants.merikoski_measuresolved upstreamtheorem erdos_5.variants.merikoski_measure : ∀ T > (0 : ℝ), ENNReal.ofReal (T / 3) ≤ volume (limitPointSet ∩ Icc 0 T)Erdos5.erdos_5.variants.banks_freiberg_maynardsolved upstreamtheorem erdos_5.variants.banks_freiberg_maynard (β : Fin 9 → ℝ) (hβ : ∀ i, 0 ≤ β i) (hβmono : Monotone β) : ∃ i j, i < j ∧ β j - β i ∈ limitPointSetErdos5.erdos_5.variants.merikoski_bounded_gapssolved upstreamtheorem erdos_5.variants.merikoski_bounded_gaps : ∃ C ≥ (0 : ℝ), ∀ T ≥ (0 : ℝ), (limitPointSet ∩ Icc T (T + C)).NonemptyErdos5.erdos_5.variants.goldston_pintz_yildirimsolved upstreamtheorem erdos_5.variants.goldston_pintz_yildirim : (0 : ℝ) ∈ limitPointSet
Erdos5.erdos_5.variants.hildebrand_maier_measuresolved upstreamtheorem erdos_5.variants.hildebrand_maier_measure : ∃ c > (0 : ℝ), ∀ᶠ T : ℝ in atTop, ENNReal.ofReal (c * T) ≤ volume (limitPointSet ∩ Icc 0 T)Erdos5.erdos_5.variants.banks_freiberg_maynard_measuresolved upstreamtheorem erdos_5.variants.banks_freiberg_maynard_measure : ∀ ε > (0 : ℝ), ∀ᶠ T : ℝ in atTop, ENNReal.ofReal ((1 - ε) * T / 8) ≤ volume (limitPointSet ∩ Icc 0 T)