I've been looking at this the past few days, but can't figure it out. Maybe I don have enough mathematical background, but most probably I'm overlooking something super basic from times long gone. Anyway, my problem:
What is the complexity of:
$$\limsup _{n \to \infty} \; d(n)$$
With $d(n)$ the divisor function. I know that the average complexity is $O(log n)$ and that the infinum is $2$ (for primes), but I can't figure out the complexity of the limit of the supremum.
Ridicule and actual solutions both much appreciated. Also, feel free to retag, I have no clue under what I should tag this.
[Edit] I should have mentioned that I was aware of the Wikipedia article. Here's what I don't get about it. Wikipedia states:
$$\limsup_{n\to\infty}\frac{\log d(n) \log\log n}{\log n} = \log 2$$
This, I assume leads to:
$$d(n) = O(n^{\frac{\log 2}{\log \log n}})$$
But then, as $n \to \infty$, the exponent will go to $0$, since $\lim _{n \to \infty} \log \log n = \infty$. And thus
$$\lim _{n \to \infty} d(n) = O(1)$$
That seems wrong, am I making a mistake? And if so, where?