If n∑r=0(r+2r+1)nCr=28−16, then n is
Expanding we get
2+32nC1+42nC2+....n+2n+1nCn
Consider
(1+x)n=1+x1nC1+x2nC2+x3nC3+...+xnnCn
Integrating with respect to x we get
(1+x)n+1n+1+c=x+x22nC1+x33nC3+...xn+1n+1nCn
Here C=−1n+1 hence we get
(1+x)n+1−1n+1=x+x22nC1+x33nC3+...xn+1n+1nCn
Multiplying with x, we get
x(1+x)n+1−xn+1=x2+x32nC1+x43nC3+...xn+2n+1nCn
Now differentiating with respect to x, we get
1n+1[(1+x)n+1+x(n+1)(1+x)n−1]=2x+3x22nC1+4x33nC3+...(n+2)xn+1n+1nCn
Substituting x=1, we get
2+32nC1+42nC2+....n+2n+1nCn
=1n+1[(2)n+1+(n+1)(2)n−1]
=1n+1[2n(n+3)−1]
Comparing the coefficients with the given question
we get
n+1=6
n=5