Skip to main content
OlympiadHQ

Browse · MathNet

Print

42nd Balkan Mathematical Olympiad

number theory

Problem

Find all polynomials with integer coefficients such that there exists a positive integer such that for all positive integers we have and
Solution
The solutions are and for and , excluding .

Firstly, we denote . We then have for all . Note that the condition can be rewritten as Let . Assume for the sake of contradiction that and let be an odd positive integer such that . Notice that , since if some prime divides both and , it would also divide , contradiction. Therefore we have that is Let be an odd prime (we know that doesn't divide ). It follows that . Let be any odd integer. By the Chinese remainder theorem there exists an integer such that Therefore, . Since is odd and , it follows that is odd and . Therefore we can conclude that (in a similar fashion as we have done for ): implying . Since and , it follows that . Therefore for all odd , but due to the periodicity of the polynomial modulo , this in fact means that the above holds for any odd integer . Now we have that Denote the previous gcd with . Let be an odd prime. It follows that , implying . Let be a large enough positive integer. Then . Therefore and so it follows that for some integer . Coming back to our original we get that

From (1) and Lifting The Exponent lemma it follows that As and , we get . If Lifting The Exponent lemma for yields . If , it follows that , yielding . If , still holds. If , it follows that , and we get for all primes , implying (2). As is independent of , we get for every odd integer such that . We say that a polynomial with integer coefficients is primitive if the greatest common divisor of its coefficients is 1. Lemma. Let be primitive such that for infinitely many positive integers . Then there exists a polynomial such that . Proof. By the polynomial division algorithm there exist polynomials such that and . Dividing the expression by yields Let be a sequence of positive integers such that and let for , for all . Let be the least common multiple of the denominators of the coefficients of . Then we can write and for . We get the following equation for every : As , there has to exist a large enough positive integer such that . Therefore and . We are left to prove that has integer coefficients. Let be the greatest common divisor of the numerators of the coefficients of and let be the least common multiple of the denominators of the coefficients of . We can assume . Therefore for some primitive polynomial . Now we get . Since is a polynomial with integer coefficients and , it follows that divides all coefficients of . Therefore (since is primitive). As and are primitive, is primitive by Gauss' lemma. Therefore and , as desired. Let , where is a positive integer (possibly ) and is primitive. Assume there exists an odd prime and let be an even integer such that

. Then , so , which is a contradiction. Therefore for some integer . Let . Since for infinitely many positive integers and are primitive, by the above lemma there exists a polynomial such that . In particular, , so is either 1 or . Therefore is either or . Let be an even positive integer. If and , it follows that . Additionally, . The original condition yields Let be an odd prime (). Picking divisible by such that yields If , i.e. , then In either case we have Therefore . Using Lifting The Exponent lemma analogously as before (without the case as ), we get: Since (because so and ), we get that and so: where the last equation holds because (since any prime that divides also divides , and is odd). Thus for all even positive integers . As and are primitive, by the lemma there exists a polynomial such that . Since is known to be irreducible and is eventually positive, it must hold that . We return to odd values of once again. If , we obtain (it is immediate for and for it follows from ). Let be an odd positive integer. Divisibility (2) yields

Therefore and , which is easily seen to be a solution to the problem (it gives ). Now assume . Let for some . The original condition after cancelling rewrites as Assume there exists an even integer and a prime such that . Then . Let be an even integer such that and . It follows that implying , which is false since is even. (3) Let for some such that and . If is non-constant, by Schur's theorem there are infinitely many primes dividing for some . For large enough such primes (and thus also ), we have and thus , which is impossible by (3). Therefore for some constant . It follows from (3) and eventual positivity of that for some integer , that is . We have However, if , let then, , which is a contradiction. Therefore, . We will show that all pairs with and except for satisfy the problem's conditions ( and fails since we need to have for ). If is even, for large enough positive integers . If is odd, for large enough positive integers and it remains to prove that . For the divisibility is obvious and for we have that , implying the claim. Finally, is obviously satisfied for all such and the result follows.
Final answer
P(x) = 1 or P(x) = 2^s x^k − x for integers s with 0 ≤ s ≤ 3 and k ≥ 1, excluding the case s = 0, k = 1 (i.e., excluding P(x) = 0).

Techniques

Chinese remainder theoremMultiplicative orderTechniques: modulo, size analysis, order analysis, inequalitiesPolynomial operationsIrreducibility: Rational Root Theorem, Gauss's Lemma, EisensteinFactorization techniques