How do i find the number of terms containing powers of $x$ in the expansion of: $$(1+x)^{100}(1+x^2-x)^{101}$$
I tried using $(1+x)((1+x(1+(x)^2-x))^{100})$ which simplified into : $$(1+x)(1+x^3)^{100}$$ but i'm not sure if this is the correct approach and also what do i do to simplify it further to get the answer?
It's a multiple choice question with options A:202, B:302, C:301 and D:101 please explain the method to solve questions of this type :)
Hint: note that $(a+(x^{m}))^{n} = \sum_{k=0}^{n} {{n}\choose{k}}a^{n-k}(x^{m})^{k}.$