Let the three numbers be
a−d,a,a+d.
It is given that the sum of the numbers is 21, therefore,
a−d+a+a+d=21⇒3a=21⇒a=213=7......(1)
It is also given that the product of the numbers is 231, therefore using equation 1 we have,
(a−d)(a)(a+d)=231⇒(7−d)(7)(7+d)=231⇒(7−d)(7+d)=2317⇒72−d2=33⇒d2=49−33⇒d2=16⇒d=−4,d=4
With a=7 and d=4, the three numbers are as follows:
a−d=7−4=3
a=7
a+d=7+4=11
Thus, the numbers are 3,7 and 11.
With a=7 and d=−4, the three numbers are:
a−d=7−(−4)=7+4=11
a=7
a+d=7−4=3
Thus, the numbers are 11,7 and 3.