(1−x)2008(1+x+x2)2007
Note: 1+x+x2=1−x1−x3 (for x=1).
(1−x)2008⋅(1−x1−x3)2007=(1−x)2008−2007⋅(1−x3)2007=(1−x)(1−x3)2007
We need the coefficient of x2012 in (1−x)(1−x3)2007.
=coeff of x2012 in (1−x3)2007−coeff of x2011 in (1−x3)2007
Coeff of x3k in (1−x3)2007 is (−1)k(k2007).
x2012: 2012/3 is not an integer, so coefficient = 0.
x2011: 2011/3 is not an integer, so coefficient = 0.
Answer: 0−0=0.
The answer is 0.