Coefficient of xr in 1+(1+x)+(1+x)2+......+(1+x)n is
Consider given the series, 1+(1+x)+(1+x)2+(1+x)3+...............(1+x)n
Given series is G.P. which have first term a=1,comman ratio r=1+x and number of term =n
So sum is,
sn=a(rn−1)r−1=[(1+x)n−1]1+x=(1+x)n−1−(1+x)−n
Now rth term of (1+x)n−1−(1+x)−n is =n−1Crxr−−nCr.xr=(n−1Cr−−nCr)xr
Hence, coefficient of xr=(n−1Cr−−nCr)