Define the Terms of the G.P.:
Let the first term of the G.P. be a=2 and the common ratio be r. Then the terms of the G.P. are:
2,2r,2r2,…
Thus: 2 is the 7th term of the A.P., 2r is the 8th term of the A.P., 2r2 is the 13th term of the A.P.
Set Up the A.P. Terms:
Let the first term of the A.P. be A and the common difference of the A.P. be d.
Then: A+6d=2,A+7d=2r,A+12d=2r2
Solving the Equations:
Using the equations, subtract the first equation from the second and the second from the third:
A+7d−(A+6d)=2r−2⟹d=2r−2
A+12d−(A+7d)=2r2−2r⟹5d=2r2−2r
Substitute d=2r−2 into 5d=2r2−2r:
5(2r−2)=2r2−2r⟹10r−10=2r2−2r
Rearranging gives: 2r2−12r+10=0⟹r2−6r+5=0
Solving this quadratic equation for r:
r=5orr=1 Since q=2, we discard r=1, so r=5.
Calculate n:
The 5th term of the G.P. is 2r4=2⋅54=2⋅625=1250.
We are given that the nth term of the A.P. is 1250: A+(n−1)d=1250
Substitute A=2−6d and d=8 (from previous calculations): 2−6×8+(n−1)×8=1250
Simplifying, we get: n=163