The variance of the first n natural numbers is
n2−112
n2−16
n2+16
n2+112
Variance =(SD)2=1nΣx2−Σxn2,∵x¯=Σxn =n(n+1)(2n+1)6n−n(n+1)2n2=n2−112