The coefficient of xk in 1+(1+x)+(1+x)2+⋯+(1+x)n, where 0≤k≤n is
The coefficient of xm in (1+x)k+(1+x)k+1+..............+(1+x)n,(k≤m≤n), is given by: