If the Pth, qth , and rth tems of an A.P. are in G.P., then common ratio of the G.P. is
pth,qth,rth terms of A.P. are
a+(p−1)d=x
a+(q−1)d=xR
a+(r−1)d=xR2
Where R is common ratio of G.P.
Subtracting (2) from (3) and (1) from (2) and then dividing the former by the later, we have R=q−rp−q