Let
$$I(x) = \frac{\sigma(x)}{x}$$
be the abundancy index of the positive integer $x$. Note that $\sigma(x)$ is the classical sum-of-divisors function. For example,
$$\sigma(12) = 1 + 2 + 3 + 4 + 6 + 12 = 28.$$
My question is this: What proportion of the positive integers satisfy the inequality $$I(n) < \frac{2n}{n + 1} \leq I(n^2) < 2?$$
Note that we necessarily have $n > 1$ from the left-hand inequality.
(A similar question is posted in MSE here.)