If n is a positive integer and f(n) is the coeffcient of xn in the expansion of (1 + x)(1-x)n, then f(2023) =
-2021
2022
2023
-2023
The correct option is: (B) 2022
The binomial theorem formula is used in the expansion of any power of a binomial in the form of a series. The binomial theorem formula is