Both of the problems I posted require the nice application of Complex Numbers.
The first problem was from the United States national competition. My solution differs slightly from the offical solution which is a little bit more elementary.
We will use something called the
roots of unity. Given the equation

there are exactly

complex solution given by:

Hence,

Is a complete set of solutions.
Now if

and

then if

then

is a complete set of solution. So that is basically what you need to know. I write them here as a chance to learn if you never did.
Now returning to the problem. We want to show

divides

which is equivalent to saying

is a zero of

, i.e.

.
Before doing the problem there is one thing you need to know about roots of unity. The sum of the roots of unities is zero!
We know that,

Let

.
Substitute that to get,

Now

generates the set of roots of unity because

.
Thus,

.
Now

also generates the set of roots of unitys because

.
Thus,

.
Note, we wrote

since

.
What he have above is a
homogenous system of linear equations. Note the determinant,

.
Which means there are only
trivial solution.
Hence,

.
Q.E.D.