The square suggests Cauchy-Schwarz...
}{j^2}\right)^{1/2}\left(\sum_{j=1}^n\frac{1}{\sigma(j)}\right)^{1/2})
.
Then note that
}\leq\sum_{j=1}^n\frac{1}{j})
(if we order the values of
,\ldots,\sigma(n))
as

, then by induction we have

since the sequence is strictly increasing).
Plugging this inequality in the above one and simplifying yields the inequality we are looking for.
Assume there is equality. Then there is equality in Cauchy-Schwarz inequality, which implies that, for some

, for

,
}}{j}=\frac{\lambda}{\sqrt{\s igma(j)}})
hence
=\lambda j)
. Since
)
is integer-valued, we must have

. And there is also equality in the other inequality :
})
, which entails

immediately. Thus,
=j)
for

.