Let $\tau(n)$ denote the number of divisors of $n$ and $p$ prime.
Today in high school I've tried to find a number that is not very big, but has a huge number of divisors (compared to it's size), i.e. $\tau(n)/n$ has to be as big as possible.
Obviously, $0 \leq \tau(1) \leq 1$, since $\tau(1)/1=1$ and $\tau(p)/p=2/p$ (so this can become as small as we want). I have tried some values
- $\tau(2)/2 = 1$
- $\tau(3)/3 = 2/3$
- $\tau(4)/4 = 0.75$
- $\tau(5)/5 = 0.4$
However, I am wondering whether there is a big(er) number, with a high ratio of divisors? Exists any number that e.g. has again a ratio of 2/3?
Such a number is not in the form $p^x$, since $$ \frac{\tau(p^x)}{p^x} = \frac{x+1}{p^x}, $$ which become smaller and smaller for bigger $p$ or $x$.
Also not $\prod^\omega_i p_i$, since $$ \frac{\tau\left(\prod^\omega_i p_i\right)}{\prod^\omega_i p_i} = \frac{2^\omega}{\prod^\omega_i p_i} = \prod^\omega_i \frac{2}{p}, $$ which also (if I am correct) tends to 0 for bigger $\omega$.
Or does this already show that the ratio $\tau(n)/n$ can be only smaller not bigger for any higher number?
Yes, $\tau(6)/6 = \frac{2}{3}$
Note that in the best case scenario, $n$ has divisors $1,2,...,\sqrt{n}$ together with their co-factors $\frac{n}{1},\frac{n}{2},...\frac{n}{\sqrt(n)}$, so that's at most $2*\sqrt{n}$ divisors. This should allow you to figure out the upper bound to any number with a certain ratio. (and this also tells you that the ratio, while it may go up or down from number to number, will in general go down)
For example, for a ratio of $\frac{1}{2}$, you have an upper bound of 16, since for $n > 16$, $n$ has less than $n/2$ divisors.
If you try a few numbers, you thus see that 12 will be the last one with a ratio of $\frac{1}{2}$ or more