Three consecutive terms of (1+2x)n have coefficients in the ratio 2:5:8. Since the general term is Tr+1=(rn)(2x)r=(rn)⋅2r⋅xr, the coefficient of xr is (rn)⋅2r.
For three consecutive terms with indices r,r+1,r+2, the ratio of the coefficient of the (r+1)th term to the rth term gives
(rn)⋅2r(r+1n)⋅2r+1=25⟹r+1n−r⋅2=25⟹r+1n−r=45,
which leads to
4(n−r)=5(r+1)⟹4n=9r+5⋯(i).
Next, the ratio of the coefficient of the (r+2)th term to the (r+1)th term yields
(r+1n)⋅2r+1(r+2n)⋅2r+2=58⟹r+2n−r−1⋅2=58⟹r+2n−r−1=54,
which gives
5(n−r−1)=4(r+2)⟹5n=9r+13⋯(ii).
Subtracting (i) from (ii) gives n=8, and substituting back into (i) yields 32=9r+5⟹r=3.
Therefore the middle term, corresponding to index r+1=4, has coefficient
(48)⋅24=70×16=1120.
The correct answer is 1120.