The sum of three numbers in A.P. is 12 and the sum of their cubes is 288. Find the numbers.
Let the numbers be (a - d), a, (a + d)
Sum = a - d + a + a + d = 12
⇒3a=12⇒a=4
Also, (a−d)3+a3+(a+d)3=288
⇒a3−d3−3a2d+3ad2+a3+a3+d3+3a2d+3ad2=288⇒3a3+6ad2=288⇒3(4)3+6×4×d2=288⇒192+24d2=288⇒24d2=96⇒d2=4⇒d=±2
When a = 4, d = 2, the numbers are 2, 4, 6
When a = 4, d = -2, the numbers are 6, 4, 2