PROVED
This has been solved in the affirmative.
Let $2=p_1<p_2<\cdots$ be the sequence of prime numbers. Are there only finitely many $n$ such that $n\in [p_{k-1},p_k)$ and the only primes dividing $n!+1$ are $p_{k}$ and $p_{k+1}$?
A conjecture of Erdős and Stewart, as reported in problem A2 of Guy's collection
[Gu04]. The only known cases are $n=1,2,3,4,5$.
Luca
[Lu01] proved that indeed these are the only solutions.
View the LaTeX source
This page was last edited 28 September 2025.
Additional thanks to: Terence Tao
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 #1058, https://www.erdosproblems.com/1058, accessed 2026-01-16