It is given that, a1=nC1,a2=nC2 and a3=nC3 are in AP. ⇒2nC2=nC1+nC3 ⇒2!2n(n−1)=n+3!n(n−1)(n−2) ⇒n(n−1)=n+6n(n−1)(n−2) ⇒6n−6=6+n2−3n+2 ⇒n2−9n+14=0 ⇒n=7,2 If n=2, then there are only three terms in the expansion of (1+x)n . Therefore; n=7 .