Across all polynomials such that is an integer for all integers , determine, with proof, all possible values of , where .
Solution
We claim the answer is every complex number where and are rationals whose simplified denominators are not multiples of any prime congruent to 1 modulo 4 . The proof consists of two main steps: proving that powers of can't appear in the denominator, and showing all possible values are attainable. We show three different methods of the former part. \section*{Impossibility via elementary number theory} We first show that no other values are possible. Indeed, it is well known that any polynomial that maps into itself must be of the form for integers and where we treat the binomials as formal polynomials. This may be proved via finite differences. It is therefore sufficient to show that for any can be simplified to a fraction of the form , where are integers and is not divisible by any prime that is 1 modulo 4 . We have that Pick any prime that is 1 modulo 4 . Since is 1 modulo 4 , there exist distinct residue classes , modulo so that . We will show that for every integer, divisible by in the denominator, we can pair it with a disjoint set, , of two positive integers less than in these two residue classes so that has real and complex parts divisible by the highest power of dividing . Thus any factor of that is 1 modulo 4 in the denominator, exists in the numerator as well, which suffices. Start with and repeat the following process for increasing until there is nothing left to do. For every positive integer such that , there exist unique satisfying and . So pair with the set , and pair its old partners if any to the old partners of and . The important feature of this assignment process is that we always have at step . Thus at the end of the process, has real and complex parts divisible by as claimed. \section*{Impossibility via Gaussian Integers} We work in the ring of Gaussian Integers , which is sitting inside number field . It's well-known that is a unique factorization domain. For any Gaussian prime , let denote the exponent of in the factorization of . Let be a prime. It's well known that splits into two Gaussian primes, . Note that it suffices to show because the similar statement for will follow. The key claim is the following: Claim. For any integer and , at least one of numbers is divisible by . Proof. First, we show that there exists integer such that . To that end, by Hensel's lemma, there exists an integer for which . Thus, However, , so must divide either or . In particular, or work. To complete the problem, pick the unique such that , so and hence divisible by . Using the claim repeatedly, we find that among numbers , - at least are divisible by (this is by selecting disjoint contiguous block of size ), - at least are divisible by , - at least are divisible by , ・ Using these altogether suffices to prove . \section*{Impossibility via -adics} Let , and note that . Fix some , and consider the -adic integers lying in . Note that has a solution in , and hence . Now take a sequence of integers converging to in , so converges to . Then since polynomials are continuous, converges to and converges to , so and converge to and respectively. Finally, since and are integers, they have nonnegative -adic valuation, and so by continuity, and have nonegative -adic valuation. Thus, when written as simplified fractions, and cannot have any powers of in their denominator, as desired. \section*{Construction} We now show that all of the claimed values are possible. The set of polynomials, , taking to itself is closed under addition and multiplication, and therefore so is the set of possible values of . It clearly contains by taking linear polynomials. Thus it suffices to show that is attainable for every prime that is not 1 modulo 4. is achieved by taking , so we may focus our attention only on the case where is 3 modulo 4 . It is then further sufficient to show that some is attainable for not both divisible by because then is also obtainable and cannot be an integer since -1 is not a quadratic residue modulo , so Bézout's Theorem shows that is attainable. Now with this goal in mind, observe that has denominator divisible by , but numerator not divisible by since again, -1 is not a quadratic residue modulo . Hence we can find some integer so that where and that aren't both divisible by as desired.