The correct options are
B 1n+2, when n is odd
C 1n+1, when n is even
For r≥0, we have (nCrr+2Cr)
=n!(n−r)!r!×r!2!(r+2)!=n!×2!(n−r)!(r+2)!
=2(n+1)(n+2)×(n+1)(n+2)n!{(n+2)−(r+2)}(r+2)!
=2(n+1)(n+2)×n+2Cr+2
∴n∑r=0(−2)r(nCrr+2Cr)
=2(n+1)(n+2)n∑r=0n+2Cr+2(−2)r
=12(n+1)(n+2)n∑r=0n+2Cr+2(−2)r+2
Putting r+2=s
=12(n+1)(n+2)n+2∑s=2n+2Cs(−2)s
=12(n+1)(n+2)×[n+2∑s=0n+2Cs(−2)s−n+2C0(−2)0−n+2C1(−2)1]
=12(n+1)(n+2)[(1−2)n+2−1+2(n+2)]
=⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩12(n+1)(n+2)(2n+4) , if n is even12(n+1)(n+2)(2n+2) , if n is odd
=⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩1(n+1) , if n is even1(n+2) , if n is odd