Browse · MathNet
PrintInternational Mathematical Olympiad
number theory
Problem
For a positive integer we denote by the sum of the digits of . Let be a polynomial, where and is a positive integer for all . Could it be the case that, for all positive integers , and have the same parity? (Belarus)
Solution
With the notation above, we begin by choosing a positive integer such that As a direct consequence of being bigger than the first quantity listed in the above set, we get that the interval contains at least 100 consecutive positive integers. Let be a positive integer in such that is congruent to . Since we have thus the first digit (from the left) of must be 9. Next, we observe that , thus for all , which immediately implies that , and the number of digits of this strictly increasing sequence forms a strictly increasing sequence too. In other words, if , the number of digits of is less than the number of digits of . Let be the number of digits of , thus . We are now going to look at and and prove that the sum of their digits has different parities. This will finish the proof since . We have , and since , the terms do not interact when added; in particular, there is no carryover caused by addition. Thus we have . We now look at . Firstly, if , then has more digits than and . It now follows that , thus all terms for come in 'blocks', exactly as in the previous case. Finally, , thus has exactly digits, and its first digit is 9, as established above. On the other hand, has exactly zeros, followed by 01 (as is ). Therefore, when we add the terms, the 9 and 1 turn into 0, the 0 turns into 1, and nothing else is affected. Putting everything together, we obtain thus and have different parities, as claimed.
Final answer
No
Techniques
OtherPolynomialsIntegers