The mean of n observations 1, 4, 9, 16, ···, n2 is 130. What is the value of n?
Reveal answer
Fill a bubble to check yourself
The mean of n observations 1, 4, 9, 16, ···, n2 is 130. What is the value of n?
18
19
20
21
Sum of first n squares = n(n+1)(2n+1)/6. Mean = [n(n+1)(2n+1)/6] / n = (n+1)(2n+1)/6 = 130. (n+1)(2n+1) = 780. 2n^2 + 3n + 1 = 780. 2n^2 + 3n - 779 = 0. Using quadratic formula: n = (-3 + sqrt(9 - 4*2*(-779))) / 4 = (-3 + sqrt(9 + 6232)) / 4 = (-3 + 79) / 4 = 19.
The formula for the sum of squares of the first n natural numbers is n(n+1)(2n+1)/6. The mean is this sum divided by n, which simplifies to (n+1)(2n+1)/6. Setting the mean equal to 130 gives (n+1)(2n+1) = 780, or 2n^2 + 3n - 779 = 0. Factoring this quadratic equation or testing the options shows that n = 19 is the positive root.