When trying to apply the binomial theorem to a problem, I found a solution that involves this line:
$(x+1)(x^2-2)^9 = \sum_{k=0}^9 { 9 \choose k } (-1)^{k-1}2^{9-k}(x^{2k}+2^{2k + 1})$
I know the binomial theorem and the formula:
$\sum_{k=0}^n {n \choose k } a^n b^{n-k}$
But I really can't see how it's applied.