We start with the binomial expression
(1+x1)n.
The binomial theorem states that
(1+x1)n=∑k=0n(kn)1n−k(x1)k=∑k=0n(kn)x−k.
The exponent of x in each term is −k, which goes from −n up to 0. Hence, when the terms are written in increasing powers of x (that is, from the most negative exponent to the least negative exponent), the coefficients appear in the order
(nn),(n−1n),(n−2n),…,(1n),(0n).
Thus three consecutive coefficients in this order are
(rn),(r−1n),(r−2n)
for some integer r with 2≤r≤n. These three coefficients are given to be in the ratio 2:5:12. Therefore we must have
(r−1n)(rn)=52and(r−2n)(r−1n)=125.
To evaluate these ratios, we use the standard relation for consecutive binomial coefficients:
(k−1n)(kn)=kn−k+1.
Setting k=r gives
(r−1n)(rn)=rn−r+1.
Setting k=r−1 gives
(r−2n)(r−1n)=r−1n−(r−1)+1=r−1n−r+2.
Now we equate these expressions to the given ratios.
First ratio:
rn−r+1=52.
Cross-multiplying, we obtain
5(n−r+1)=2r,
5n−5r+5=2r,
5n+5=7r,
r=75n+5.−(1)
Second ratio:
r−1n−r+2=125.
Cross-multiplying, we obtain
12(n−r+2)=5(r−1),
12n−12r+24=5r−5,
12n+24=17r−5,
12n+29=17r,
r=1712n+29.−(2)
Since both (1) and (2) equal r, we equate them:
75n+5=1712n+29.
Cross-multiplying gives
17(5n+5)=7(12n+29),
85n+85=84n+203.
Moving like terms to the same side, we get
85n−84n=203−85,
n=118.
Because n=118 is a positive integer and satisfies both equations, it is the required value.
Hence, the correct answer is Option 118.