An A.P., a G.P., and an H.P. have a and b for their first two terms. Their (n+2)th terms will be in G.P. if b2n+2−a2n+2ab(b2n−a2n)
n+1n
The (n+2)th term of A.P.
x1=a+(n+1)(b−a)
The (n+2)th term of G.P.
x2=a(ba)n+1
the (n+2)th term of H.P.
x3=11a+(n+1)(1b−1a)
Now ,x1, x2, x3 are in G.P. if x22=x1x3 that is
if a2(ba)2n+2=a+(n+1)(b−a)1a+(n+1)(1b−1a)or b2n+2a2n=(n+1)b−nab+(n+1)(a−b)ab∴b2n+2−a2n+2ab(b2n−a2n)=n+1n