Let’s take the four terms of the A.P. to be , , and .
According to the question,
Sum of those terms
⇒
⇒
⇒
⇒
also given that the greatest number least number
⇒
⇒
⇒
⇒
⇒
By Using the value of a in the above equation, we get
⇒
⇒
Therefore,the terms will be:
, , and .
⇒ , , ,