Browse · MathNet
Print2022 China Team Selection Test for IMO
China 2022 number theory
Problem
Fix an integer . Find all -tuples of integers satisfying the following two conditions: (1) is odd, , and is an integer; and (2) there exist different -tuples with , such that for all , there exists such that
Solution
The -tuples we seek are the ones satisfying the following condition: if there are exactly odd numbers in , then .
We first verify the necessity of . For this, we drop the condition and assume that are odd and are even. Suppose that we are given the tuples satisfying the requirement (2). For each , denote . Then Consequently, there exists an index such that . This means that we can choose at least tuples such that the differences between their -th coordinates are all congruent to or modulo .
By running the same argument for all the tuples inductively, i.e., to consider the th coordinates modulo , the th coordinates modulo , etc., it eventually shows that there are at least tuples such that for each two of them, the differences between their th coordinates 's are congruent to or modulo , where . However, the given conditions imply that the difference between the first coordinates of these tuples can not be or (mod ); there are at most such tuples. This means that all equalities must hold in the argument above. Namely, for each we have exactly different tuples. In particular, taking leads to It forces that .
In the following, we construct the needed tuples under the condition . For convenience, we first weaken the condition to only requiring . Whenever there is any even number in , say without loss of generality. Suppose that we may construct the needed tuples for , say with . Then it suffices to take with and .
Now it remains to prove for the case when all are odd. Let us write and consider the case when first. In this case, . Define the function and take the following tuples: where . We now show that these tuples satisfy the desired conditions. Consider the above tuple together with another one: . If for every , the difference between their th coordinate , then The first equality implies that can be only congruent to . On the other hand, . So is forced to be equal to by , and . By the uniqueness of binary expansion, we get , which implies that the two tuples are the same. This verifies that the constructed tuples satisfy the needed conditions.
For the general case where are all odd numbers, we claim that if , the construction can be reduced to the case with . Hence by induction, it suffices to consider the case where all are equal, which is discussed above.
Assume now there exist tuples as desired when . We may assume that for each , the th coordinates of all these tuples belong the set .
We then define the tuples as follows. One can first choose the tuples that are already defined. As for , we choose to add the tuple if and only if the tuple was selected; and for , we choose to add the tuple if and only if the tuple was selected. It is easy to check that these tuples satisfy our requirement. Also, using the proof for by induction, the condition for equality implies the following: Among the tuples we have selected before, the number of tuples whose second coordinate is either or is . Hence we can the number of new tuples is . This completes the construction of the tuples.
We first verify the necessity of . For this, we drop the condition and assume that are odd and are even. Suppose that we are given the tuples satisfying the requirement (2). For each , denote . Then Consequently, there exists an index such that . This means that we can choose at least tuples such that the differences between their -th coordinates are all congruent to or modulo .
By running the same argument for all the tuples inductively, i.e., to consider the th coordinates modulo , the th coordinates modulo , etc., it eventually shows that there are at least tuples such that for each two of them, the differences between their th coordinates 's are congruent to or modulo , where . However, the given conditions imply that the difference between the first coordinates of these tuples can not be or (mod ); there are at most such tuples. This means that all equalities must hold in the argument above. Namely, for each we have exactly different tuples. In particular, taking leads to It forces that .
In the following, we construct the needed tuples under the condition . For convenience, we first weaken the condition to only requiring . Whenever there is any even number in , say without loss of generality. Suppose that we may construct the needed tuples for , say with . Then it suffices to take with and .
Now it remains to prove for the case when all are odd. Let us write and consider the case when first. In this case, . Define the function and take the following tuples: where . We now show that these tuples satisfy the desired conditions. Consider the above tuple together with another one: . If for every , the difference between their th coordinate , then The first equality implies that can be only congruent to . On the other hand, . So is forced to be equal to by , and . By the uniqueness of binary expansion, we get , which implies that the two tuples are the same. This verifies that the constructed tuples satisfy the needed conditions.
For the general case where are all odd numbers, we claim that if , the construction can be reduced to the case with . Hence by induction, it suffices to consider the case where all are equal, which is discussed above.
Assume now there exist tuples as desired when . We may assume that for each , the th coordinates of all these tuples belong the set .
We then define the tuples as follows. One can first choose the tuples that are already defined. As for , we choose to add the tuple if and only if the tuple was selected; and for , we choose to add the tuple if and only if the tuple was selected. It is easy to check that these tuples satisfy our requirement. Also, using the proof for by induction, the condition for equality implies the following: Among the tuples we have selected before, the number of tuples whose second coordinate is either or is . Hence we can the number of new tuples is . This completes the construction of the tuples.
Final answer
Exactly those tuples for which, if r is the number of odd numbers among a2,…,an, then 2^r divides a1 − 1.
Techniques
Modular ArithmeticPigeonhole principleInduction / smoothing