Mean of 40 terms is 25 and S.D is 4, then sum of the squares of all terms is
The sum of n terms of an AP is 4pn(n+3).The sum of squares of these terms is: