Given,
The coefficients of three consecutive terms in the binomial expansion of (1+2x)n be in the ratio 2:5:8.
Now rth term in expansion of (1+2x)n is given by, tr+1=Crn(2x)r
Now let Tr,Tr+1,Tr+2 are in the ratio 2:5:8
⇒Tr+1Tr=Crn(2)rCr−1n(2)r−1=52
⇒r!(n−r)!n!(2)(r−1)!(n−r+1)!n!=52
⇒n−r+1r=54⇒5r=4n−4r+4
⇒9r=4(n+1).......(1)
Now taking other ratio Tr+2Tr+1=Cr+1n(2)r+1Crn(2)r=85
⇒(r+1)!(n−r−1)!n!r!(n−r)!n!=45⇒n−rr+1=45
⇒4r+4=5n−5r
⇒5n−4=9r.........(2)
From equation (1)&(2) we get,
4n+4=5n−4⇒n=8 and r=4
So, coefficient of middle term will be
C4824=16×4×3×2×18×7×6×5=16×70=1120