It is known that three numbers form an arithmetic sequence, the sum of which is equal to 24. If the third number is added with 4, then the three numbers form an arithmetic sequence, and the three numbers can be calculated

It is known that three numbers form an arithmetic sequence, the sum of which is equal to 24. If the third number is added with 4, then the three numbers form an arithmetic sequence, and the three numbers can be calculated

Let these three numbers be X-D, x, x + D
Set of equations: X-D + X + X + D = 24
x2=(x-d)(x+d+4)
The solution is x = 8, d = 4 or - 8
These three numbers are 4,8,12 or 16,8,0