The coefficient of x17 in (1-x)13(1+x+x2)12 is
(3)
We have, (1-x)13(1+x+x2)12
=(1-x)[(1-x)(1+x+x2)]12=(1-x)(1-x3)12
In the expansion, all the powers of x is either in the form of 3k or (3k+1) for some k∈ℤ. But 17 has the form (3k+2).
∴ Coefficient of x17 in the given expansion is 0.