An = nth A.M. between a and b, An=nb+an+1
Hn = nth H.M. between a and b,
Hn=(n+1)abna+b
Tr of A.P. is Ar−1 (mean) of A.P. =x
Tr of H.P. is Hr−1 (mean) of H.P. =y
Hence putting n = r - 1 or n + 1 = r in (1) and (2), we get
x=(r−1)b+ar,y=rab(r−1)a+b
∴xa+by=[(r−1)b+aar]+[(r−1)b+ara]
=(r−1)(a+b)+(a+b)ar=r(a+b)ar=a+ba
Hence in is independent of e and n.