Is Erdős Problem #852 solved?
Open. erdosproblems.com lists it as open (their entry updated 31 Aug 2025).
The problem
erdosproblems.com/852 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
Let \(d_n = p_{n+1} - p_n\), where \(p_n\) is the \(n\)th prime. Let \(h(x)\) be maximal such that for some \(n < x\) the numbers \(d_n, d_{n+1}, \ldots, d_{n+h(x)-1}\) are all distinct [Er85c]. Estimate \(h(x)\). In particular, is it true that $$h(x) > (\log x)^c$$ for some constant \(c > 0\)?
The statement avoids defining \(h\). Since \(h(x)\) is the longest such run, \(h(x) > y\) holds exactly when some \(n < x\) starts a run of \(H > y\) distinct gaps. We state the question this way, with \(x\) real. We read it as asking for one \(c > 0\) such that the inequality holds for all large \(x\).
The primes are indexed from \(p_0 = 2\), as in primeGap. Shifting the index by one does not change the question.
In Lean:
theorem erdos_852.parts.i :
∃ c : ℝ, 0 < c ∧ ∀ᶠ x : ℝ in atTop,
∃ n : ℕ, (n : ℝ) < x ∧ ∃ H : ℕ, (Real.log x) ^ c < (H : ℝ) ∧ DistinctGapRun n HStated in Lean
in the atlas →3 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.
Erdos852.erdos_852.parts.iopentheorem erdos_852.parts.i : ∃ c : ℝ, 0 < c ∧ ∀ᶠ x : ℝ in atTop, ∃ n : ℕ, (n : ℝ) < x ∧ ∃ H : ℕ, (Real.log x) ^ c < (H : ℝ) ∧ DistinctGapRun n HProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F852%23Erdos852.erdos_852.parts.iErdos852.erdos_852.parts.iiopentheorem erdos_852.parts.ii : ∀ ε : ℝ, 0 < ε → ∀ᶠ x : ℝ in atTop, ∀ n : ℕ, (n : ℝ) < x → ∀ H : ℕ, DistinctGapRun n H → (H : ℝ) ≤ ε * Real.log xProve it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F852%23Erdos852.erdos_852.parts.iiErdos852.erdos_852.variants.tendsto_atTopsolved upstreamtheorem erdos_852.variants.tendsto_atTop : ∀ H : ℕ, ∀ᶠ x : ℝ in atTop, ∃ n : ℕ, (n : ℝ) < x ∧ DistinctGapRun n H