If the coefficients of x and x2 in the expansion of (1+x)p(1−x)q, p,q≤15, are −3 and −5 respectively, then the coefficient of x3 is equal to \_\_\_\_\_\_\_\_\_.
Answer: 23
Solutions · 1
Official solution
Coefficient of x: p−q=−3
Coefficient of x2: (p−q)2−(p+q)=−10⇒9−(p+q)=−10⇒p+q=19
With p−q=−3: q=11,p=8.
Coefficient of x3 in (1+x)8(1−x)11: −11C3+8C111C2−8C211C1+8C3=23