The three numbers a, b, c between 2 and 18 are such that their sum is 25; the numbers 2, a, b are consecutive terms of an A.P. and the numbers b, c, 18 are consecutive terms of a G.P. The three numbers are
we have (1)
(2)
(3)
From Eq. (1) and (2),
From Eq. (3),
or
or
or ,
From Eq. (1),
Hence, the four numbers are 8, –4, 2 and 8.