IMC 2001 · Problem 4

Day 18th IMC · Prague, Czech Republic

Statement

Let kk be a positive integer. Let p(x)p(x) be a polynomial of degree nn each of whose coefficients is 1-1, 11 or 00, and which is divisible by (x1)k(x-1)^k. Let qq be a prime such that qlnq<kln(n+1)\dfrac{q}{\ln q} < \dfrac{k}{\ln(n+1)}. Prove that the complex qqth roots of unity are roots of the polynomial p(x)p(x).

Official solution

Hidden so you can work on the problem first.