The sum of three consecutive terms of an A. P. is 21 and the sum of their squares is 165. Find these terms.
Let the terms are a - d, a, a + d.
Sum = a - d + a + a + d = 3 a
3 a = 21
a = 7
Second condition,
a2 + d2 - 2ad + a2 + a2 + d2 + 2ad = 165
3a2 + 2d2 = 165
49×3 + 2d2 =165
147 + 2d2 = 165
2d2 = 18
d2 = 9
d = 3
So the series is 4,7,10