We know that, for positive monotonically increasing functions like $f(x) = \sqrt{x}$ and $f(x) = x$, if you integrate their reciprocals to infinity, it doesn't converge. On the other end, for functions like $f(x)=x^2$, in integral of the reciprocal does converge.
I kind of just assumed that the reciprocal integral will converge iff $f(x)\in\omega(x)$. For those unfamiliar with little-omega notation, basically it means that $f(x)$ asymptotically grows strictly faster than $x$ (i.e. $\lim_{x\to\infty} \frac{x}{f(x)} = 0$).
However, this is wrong. $f(x) = x \cdot \ln(x)$ will also diverge, despite being in $\omega(x)$. And $f(x) = x \cdot \ln^2(x)$ will converge. But $f(x) = x \cdot \ln(x) \cdot \ln(\ln(x))$ won't converge.
So the line between convergence is some weird function that I'm not sure of. Does anyone know what the exact function is that separates convergence and divergence of the reciprocal integral?
If I had to guess, the integral will converge for all functions $f(x)$ that are in $\omega(g(x))$, where $$g(x) = x \cdot \ln(x) \cdot \ln(\ln(x)) \cdot \ln(\ln(\ln(x))) \cdot \cdots$$
I have no idea if that's right, but if it is, I have no idea what the name for that $g(x)$ is, or if there's a better candidate for a function that behaves just like that.
Edit: Added that fact that the functions should be monotonically increasing.