Concept:Coefficients of x, x2, x3 in the expansion of (1+x2)2(1+x)n are derived using binomial theorem and set in arithmetic progression.Explanation:Expand (1+x2)2=1+2x2+x4.Coefficient of x: from (1+x)n only, =(1n).Coefficient of x2: (2n)+2⋅(0n)=(2n)+2.Coefficient of x3: (3n)+2⋅(1n)=(3n)+2n.For AP: 2((2n)+2)=(1n)+(3n)+2n.Substitute (1n)=n, (2n)=n(n−1)/2, (3n)=n(n−1)(n−2)/6:2⋅2n(n−1)+4=n+6n(n−1)(n−2)+2n⇒n(n−1)+4=3n+6n(n−1)(n−2).Multiply by 6: 6n(n−1)+24=18n+n(n−1)(n−2).Rearrange: n3−9n2+26n−24=0.Factor: (n−2)(n−3)(n−4)=0, so n=2,3,4.Sum =2+3+4=9.Answer:9, option B.