OPEN
This is open, and cannot be resolved with a finite computation.
Let\[F(n) = \max_{\substack{m<n\\ m\textrm{ composite}}} m+p(m),\]where $p(m)$ is the least prime divisor of $m$. Is it true that $F(n)>n$ for all sufficiently large $n$? Does $F(n)-n\to \infty$ as $n\to\infty$?
A question of Erdős, Eggleton, and Selfridge, who write that 'plausible conjectures on primes' imply that $F(n)\leq n$ for only finitely many $n$, and in fact it is possible that this quantity is always at least $n+(1-o(1))\sqrt{n}$ (note that it is trivially $\leq n+\sqrt{n}$).
Tao has discussed this problem in
a blog post.
Sarosh Adenwalla has observed that the first question is equivalent to
[430]. Indeed, if $n$ is large and $a_i$ is the sequence defined in the latter problem, then
[430] implies that there is a composite $a_j$ such that $a_j-p(a_j)>n$ and hence $F(n)>n$.
See also
[463].
View the LaTeX source
Additional thanks to: Sarosh Adenwalla
When referring to this problem, please use the original sources of Erdős. If you wish to acknowledge this website, the recommended citation format is:
T. F. Bloom, Erdős Problem #385, https://www.erdosproblems.com/385, accessed 2026-01-16