Find the mean and variance of the first n natural numbers.

1 answer

Their sum is ∑k = n(n+1)/2
So, the mean is easy, right?
The sum of their squares is ∑k^2 = n(n+1)(2n+1)/6
Now you can get the variance using the usual formula.