Is Erdős Problem #983 solved?
Open. erdosproblems.com lists it as open (their entry updated 31 Aug 2025).
The problem
erdosproblems.com/983 ↗Thomas Bloom's erdosproblems.com has the statement, its history and references. In the words of Formal Conjectures:
Let \(n\geq 2\) and \(\pi(n)<k\leq n\). Let \(f(k,n)\) be the smallest integer \(r\) such that in any \(A\subseteq \{1,\ldots,n\}\) of size \(\lvert A\rvert=k\) there exist primes \(p_1,\ldots,p_r\) such that \(>r\) many \(a\in A\) are only divisible by primes from \(\{p_1,\ldots,p_r\}\).
Is it true that $$2\pi(n^{1/2})-f(\pi(n)+1,n)\to \infty$$ as \(n\to \infty\)?
This is the first part. The primes may depend on \(A\). Erdős and Straus conjectured this [Er70b, p. 138 and p. 140].
The answer is no: Liam Price and GPT-5.5 Pro showed on the forum that \(f(\pi(n)+1,n)=2\pi(n^{1/2})+1\) for infinitely many \(n\); see the explanation by Nat Sothanaphan. Write \(p_k\) for the \(k\)-th prime. By [Po79, Corollary after Theorem 2.2] there are infinitely many \(N\) with \(p_{N-i}p_{N+i}<p_N^2\) for \(1\leq i<N\). Take \(n=p_N^2-1\), so \(\pi(n^{1/2})=N-1\). Let \(A\) consist of the products of adjacent primes on the path \(p_{2N-1},p_1,p_{2N-2},p_2,\ldots,p_{N+1},p_{N-1},p_N\), its two endpoint primes, and the other primes up to \(n\). Then \(\lvert A\rvert=\pi(n)+1\), and for any \(r\leq 2N-2\) primes at most \(r\) elements of \(A\) are divisible only by those primes, so \(f(\pi(n)+1,n)\geq 2N-1\).
In Lean:
theorem erdos_983.parts.i :
¬ Tendsto (fun n : ℕ ↦
2 * (Nat.primeCounting (Nat.sqrt n) : ℤ) - (f (Nat.primeCounting n + 1) n : ℤ))
atTop atTopStated in Lean
in the atlas →4 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.
Erdos983.erdos_983.parts.isolved upstreamtheorem erdos_983.parts.i : ¬ Tendsto (fun n : ℕ ↦ 2 * (Nat.primeCounting (Nat.sqrt n) : ℤ) - (f (Nat.primeCounting n + 1) n : ℤ)) atTop atTopErdos983.erdos_983.parts.iiopentheorem erdos_983.parts.ii : ∀ k : ℕ → ℕ, (∀ᶠ n : ℕ in atTop, Nat.primeCounting n + 1 < k n) → ((fun n : ℕ ↦ (k n : ℝ)) =o[atTop] (fun n : ℕ ↦ (n : ℝ))) → (fun n : ℕ ↦ (f (k n) n : ℝ)) ~[atTop] (fun n : ℕ ↦ erdos_983.parts.ii.answer (k n) n)Prove it here:
GET https://isitsolved.com/api/lean/template?conjecture=ErdosProblems%2F983%23Erdos983.erdos_983.parts.iiErdos983.erdos_983.variants.upper_boundsolved upstreamtheorem erdos_983.variants.upper_bound (n : ℕ) : f (Nat.primeCounting n + 1) n ≤ 2 * Nat.primeCounting (Nat.sqrt n) + 1Erdos983.erdos_983.variants.erdos_straussolved upstreamtheorem erdos_983.variants.erdos_straus : ∀ A : ℝ, 0 < A → (fun n : ℕ ↦ (f (Nat.primeCounting n + 1) n : ℝ) - 2 * (Nat.primeCounting (Nat.sqrt n) : ℝ)) =o[atTop] (fun n : ℕ ↦ Real.sqrt n / Real.log n ^ A)