Open-access mathematical research insights
About Contact
Home / Erdos Problems / Problem #647

Problem #647: Let $\tau(n)$ count the number of divisors of $n$

Let $\tau(n)$ count the number of divisors of $n$. Is there some $n>24$ such that\[\max_{m

Problem Statement

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?\]
Categories: Number Theory

Progress

A problem of Erdős and Selfridge. This is true for $n=24$. The $n+2$ is best possible here since\[\max(\tau(n-1)+n-1,\tau(n-2)+n-2)\geq n+2.\]In [Er79] Erdős says 'it is extremely doubtful' that there are infinitely many such $n$, and in fact suggets that\[\lim_{n\to \infty}\max_{m<n}(\tau(m)+m-n)=\infty.\]In [Er79d] 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))\leq n+2,\]but 'this is hopeless with our present methods', although it follows from Schinzel's Hypothesis H.

In [Er92e] Erdős offered £25 for an example of such an $n>24$. He wrote 'I am being rather stingy but we old people are stingy.' (This has been converted to \$44 using approximate 1992 exchange rates.)

Tao has observed in the comments that, since $\tau(m)$ is similar to $2^{\omega(m)}$, this problem is similar to (but slightly weaker than) the first part of [679], but much stronger than [413] or [248].

See also [413].

Source: erdosproblems.com/647 | Last verified: January 15, 2026

Stay Updated

Get weekly digests of new research insights delivered to your inbox.