Prove that $$\sum_{n=0}^{\infty} \left(\frac{1+\frac 12+\ldots+\frac 1n}{n}\right)^p$$ converges if $p>1$ and diverges when $0<p\leqslant1$.
My attempt:
Since the terms of the series $\sum_{n=0}^{\infty} \frac1n$ are monotonically decreasing and positive, I applied Cauchy's Condensation theorem, i.e, if $\sum a(n)$ and $\sum2^na(2^n)$ will converge and diverge together. Applying this I got, $\sum\left(1-\frac{1}{2^n}\right)^p$, but I am stuck now. Don't know how to proceed further.