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(m)) \leq n + 2? $$
This is true for $n = 24$.
theorem
Erdos647.erdos_647.variants.lim :
sorry ↔ Filter.Tendsto (fun (n : ℕ) => ⨆ (m : Fin n), (ArithmeticFunction.sigma 0) ↑m + ↑m - n) Filter.atTop Filter.atTop
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. $$