The weighted mean of the first n natural numbers whose weights are equal to the squares of the corresponding numbers is
n+12
3n(n+1)2(2n+1)
(n+1)(2n+1)6
n(n+1)2
Weighted mean =∑xiWii=1n∑i=1nWi =1.12+2⋅22+⋯+n⋅n212+22+⋯+n2=Σn3Σn2=n(n+1)2n(n+1)2n(n+1)(2n+1)6=3n(n+1)2(2n+1)