For a nonnegative integer define if or , and where are all prime factors of . Find all polynomials with nonnegative integer coefficients such that divides for every nonnegative integer .
Problem 1897
Official solutions — 2
Solution 1
We are going to prove that for some nonnegative integers and . If is the zero polynomial we are done, so assume that has at least one positive coefficient. In particular .
Let be a prime number. The condition is that implies
Since for all , repeated applications of the preceding implication show that if divides then
The idea is to construct a prime and a positive integer such that divides and divides . In this case, for large enough divides . Hence if then by Fermat's little theorem, so that
Suppose that with . Let be a positive integer, any prime factor of and . So divides and , hence either or the previous congruence holds. If then divides and , meaning that divides .
In conclusion we proved that each prime factor of divides , and thus the set of prime factors of when ranges through the positive integers is finite. This is known to imply that is a constant polynomial, and so .
Solution 2
Let be a polynomial with integer coefficients (not necessarily nonnegative) such that divides for any nonnegative integer . We give a complete description of all polynomials with this property. More precisely, we claim that if is such a polynomial and is a root of then so is for every positive integer .
Therefore each root of is zero or a root of unity. In particular, if a root of unity is a root of then is a root too (for some positive integer ). In the original problem has nonnegative coefficients. Then either is the zero polynomial or and is the only possible root. In either case with and nonnegative integers.
To prove the claim let be a root of , and let be an irreducible factor of such that . If 0 or 1 are roots of then either or (because is irreducible) and we are done. So assume that . By decomposing as a product of prime numbers, it is enough to consider the case prime. We argue for . Since for every , we have
Now we prove that divides . Suppose that this is not the case. Then, since is irreducible, there are integer-coefficient polynomials and an integer such that
Each prime factor of divides , so by it also divides . From the equation above with it follows that divides .
In summary, each prime divisor of divides , for all . Let be the odd primes dividing , and suppose that
If is divisible by then
yielding
It follows that for each the maximal power of dividing and is the same, namely . On the other hand, for large enough , the maximal power of 2 dividing and is the same. From the above, for divisible by and large enough, we obtain that divides . This is impossible because are fixed and is arbitrarily large.
In conclusion, divides . Recall that is a root of such that ; then , i.e. is a root of .
Likewise if is a root of and an arbitrary prime then is a root too. The argument is completely analogous, in the proof above just replace 2 by and "odd prime" by "prime different from ."