Let $p_i(x)$, $p(x)$ be real coefficient polynomials. Suppose that $$\sum_{i=0}^{n-1}x^ip_i(x^{in})=p(x^n), (x-1)\mid p(x).$$ Show that $p_i(x)=0$, $1\leq i\leq n-1$.
I could only show that $p_i(1)=0$, once we take $x$ to be the $n$-th root of $1$...What about the other $x$?