The coefficient of xn in the expansion of (1+x)(1−x)n, is
(−1)n−1n
(−1)n(1−n)
(−1)n−1(n−1)2
(n−1)
We have,
Coefficient of xn in (1+x)(1−x)n
=Coefficient of xn in (1−x)n+ Coefficient of xn−1 in (1−x)n
=(−1)n nCn+(−1)n−1nCn−1=(−1)n(1−n)