you need to show that this sums to one, and it does

use partial sums to obtain

So

as since this is a telescoping series

The mean is infinite since that is a p-series (p=1)

So

YOU can use the integral test and obtain

but that's where the p-series comes from.