The mean of first n natural numbers is calculated as follows.
Mean = Number of observations Sum of all observations
∴ Mean =n2n(n+1)=2n+1
Variance (σ2)=n1i=1∑n(xi−xˉ)2
=n1i=1∑n[xi−(2n+1)]2
=n1n=1∑nxi2−n1i=1∑n2(nn+1)x+n1i=1∑n(2n+1)2
=n16n(n+1)(2n+1)−(nn+1)[2n(n+1)]+4n(n+1)2×n
=6(n+1)(2n+1)−2(n+1)2+4(n+1)2
=6(n+1)(2n+1)−4(n+1)2
=(n+1)[124n+2−3n−3]
=12(n+1)(n−1)
=12n2−1
Sujan Prodhan Rajshahi University