Erdős Problem 647 #
Reference: erdosproblems.com/647
Let $\tau(n)$ count the number of divisors of $n$. Is there some $n > 24$ such that $$ \max_{m < n}(m + \tau(n)) \leq n + 2? $$
This is true for $n = 24$.
theorem
Erdos647.erdos_647.variants.lim :
Filter.Tendsto (fun (n : ℕ) => ⨆ (m : Fin n), (ArithmeticFunction.sigma 0) ↑m + ↑m - n) Filter.atTop Filter.atTop ↔ sorry
Erdős says 'it is extremely doubtful' that there are infinitely many such $n$, and in fact suggests that $$ lim_{n\to\infty} \max_{m < n}(\tau(m) + m − n) = \infty. $$
Erdős says it 'seems certain' that for every $k$ there are infinitely many $n$ for which $$ \max_{n−k < m < n}(m + \tau(m)) ≤ n + 2. $$