Browse · MathNet
PrintIMO 2016 Shortlisted Problems
2016 counting and probability
Problem
Find all integers with the following property: for all real numbers and satisfying for , there exist , each of which is either or , such that
Solution
Answer. can be any odd integer greater than or equal to .
For any even integer , we consider the case The condition is satisfied for each . No matter how we choose each , both sums and are odd integers. This implies and , which shows (1) cannot hold.
For any odd integer , we may assume without loss of generality for (this can be done by flipping the pair to and to if necessary) and . We claim that the choice for will work. Define Note that by the assumption (when is odd, there is a single term at the end, which is also positive). Next, we have Similarly, and From the condition, we have for and for . It follows that and . Hence it remains to prove under the constraint . By symmetry, we may assume . If , then we have If , then we have Hence, the inequality is true in both cases.
These show can be any odd integer greater than or equal to .
---
Alternative solution.
The even case can be handled in the same way as Solution 1. For the odd case, we prove by induction on .
Firstly, for , we may assume without loss of generality and (if , we may replace each by ).
- Case 1. and , in which case we take . Let so that . Then and hence .
- Case 2. and , in which case we take . Let so that . Since and , we have This gives and hence .
- Case 3. and , in which case we take . Let . If , then and imply If , then and imply In both cases, we get and hence .
- Case 4. and , in which case we take . Let . If , then and imply If , then and imply In both cases, we get and hence .
We have found satisfying (1) in each case for .
Now, let be odd and suppose the result holds for any smaller odd cases. Again we may assume for each . By the Pigeonhole Principle, there are at least three indices for which or . Without loss of generality, suppose for . Again by the Pigeonhole Principle, as lies between and , the difference of two of them is at most . By changing indices if necessary, we may assume .
By the inductive hypothesis, we can choose such that and satisfy . We may further assume .
- Case 1. , in which case we take . We have since and .
- Case 2. , in which case we take . We have . If , this equals . If , this equals .
- Case 3. , in which case we take . We have . If , this equals . If , this equals .
Therefore, we have found satisfying (1) in each case. By induction, the property holds for all odd integers .
For any even integer , we consider the case The condition is satisfied for each . No matter how we choose each , both sums and are odd integers. This implies and , which shows (1) cannot hold.
For any odd integer , we may assume without loss of generality for (this can be done by flipping the pair to and to if necessary) and . We claim that the choice for will work. Define Note that by the assumption (when is odd, there is a single term at the end, which is also positive). Next, we have Similarly, and From the condition, we have for and for . It follows that and . Hence it remains to prove under the constraint . By symmetry, we may assume . If , then we have If , then we have Hence, the inequality is true in both cases.
These show can be any odd integer greater than or equal to .
---
Alternative solution.
The even case can be handled in the same way as Solution 1. For the odd case, we prove by induction on .
Firstly, for , we may assume without loss of generality and (if , we may replace each by ).
- Case 1. and , in which case we take . Let so that . Then and hence .
- Case 2. and , in which case we take . Let so that . Since and , we have This gives and hence .
- Case 3. and , in which case we take . Let . If , then and imply If , then and imply In both cases, we get and hence .
- Case 4. and , in which case we take . Let . If , then and imply If , then and imply In both cases, we get and hence .
We have found satisfying (1) in each case for .
Now, let be odd and suppose the result holds for any smaller odd cases. Again we may assume for each . By the Pigeonhole Principle, there are at least three indices for which or . Without loss of generality, suppose for . Again by the Pigeonhole Principle, as lies between and , the difference of two of them is at most . By changing indices if necessary, we may assume .
By the inductive hypothesis, we can choose such that and satisfy . We may further assume .
- Case 1. , in which case we take . We have since and .
- Case 2. , in which case we take . We have . If , this equals . If , this equals .
- Case 3. , in which case we take . We have . If , this equals . If , this equals .
Therefore, we have found satisfying (1) in each case. By induction, the property holds for all odd integers .
Final answer
All odd integers greater than or equal to 3
Techniques
Pigeonhole principleInduction / smoothingLinear and quadratic inequalitiesIntegers