The sum of three numbers which are consecutive terms an A.P. is 21. If the second number is reduced by 1 and the third is increased by 1, we obtain three consecutive terms of a G.P. Find the numbers.
Let the first term of an A.P. is a and its common difference be d.
∴a1+a2+a3=21
⇒a+(a+d)+(a+2d)=21
⇒3a+3d=21
⇒a+d=7 ..........(i)
Now, according to the questiong :
a,a+d−1 and a+2d+1 are in G.P.
⇒(a+d−1)2=a(a+2d+1)
⇒(7+a−a−1)2=a[a+2(7−a)+1]
⇒(6)2=a(15−a)
⇒36=15a−a2
⇒a2−15a+36=0
⇒(a−3)(a−12)=0
⇒a=3,12
Now, putting a = 2, 12 in equation (i), we get d = 5, -5, respectively.
Thus, for a = 2 and d = 5, the numbers are 2, 7 and 12.
And, for a = 12 and d = -5, the numbers are 12, 7 and 2.