The coefficient of x18 in the product (1+x)(1−x)10(1+x+x2)9 is:
Solutions · 1
Official solution
\[(1-x)^{10}(1+x+x^2)^9(1+x)=(1-x)^9(1+x+x^2)^9(1-x)(1+x)=\left[(1-x)(1+x+x^2)\right]^9(1-x^2)\]
=(1−x3)9(1−x2)=(1−x3)9−x2(1−x3)9
Coefficient of x18: from first term (3k=18⇒k=6): (69); from second term (3k=16, no integer solution): 0.
\[\binom96=\frac{9!}{6!3!}=84\]