Determine all pairs of positive integers such that is divisible by .
Solution
Denote the first and larger polynomial to be and the second one to be . In order for to be divisible by they must have the same roots. The roots of are the (m+1)th roots of unity, except for 1. When plugging into , the root of unity is a root of if and only if the terms all represent a different (m+1)th root of unity not equal to 1.
Note that if , the numbers represent a complete set of residues minus 0 modulo . However, if not equal to 1, then is congruent to and thus a complete set is not formed. Therefore, divides if and only if
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.