Sum of squares of first n natural numbers is
Sum of first n natural number is
According to given condition,
i.e n3 − 10n2 + 10n2 − n − 990 = 0 − 99n + 99n
i.e n2 (n − 10) + 10n2 − 100n − 990 + 99n = 0
i.e n2 (n − 10) + 10n (n − 10) + 99(n−10) = 0
i.e (n − 10) (n2 + 10n + 99) = 0
⇒ n = 10