Let the coefficients of three consecutive terms of (1+x)n+5 be
n+5Cr−1,n+5Cr,n+5Cr+1,then we haven+5Cr−1:n+5Cr:n+5Cr+1=5:10:14n+5Cr−1n+5Cr=510⇒rn+6−r=12or n−3r+6=0 (1)Also n+1Crn+5Cr+1=1014⇒r+1n−r+5=57or 5n−12r+18=0 (2)Solving (1) and (2) we get n=6.