Browse · MathNet
PrintSAUDI ARABIAN IMO Booklet 2023
Saudi Arabia 2023 counting and probability
Problem
Each integer from to was colored either red, or blue, and each color was used at least once. It turned out that Every red number is a sum of some two distinct blue numbers; Every blue number is a difference of some two red numbers. Find the smallest number for which such coloring is possible.
Solution
The smallest such number is . Suppose that is a number allowing for coloring with the desired properties. Then since each color needs to be used at least once. Note that cannot be blue since it is inexpressible as a difference of two numbers between and , therefore is red. On the other hand, and cannot be red, since none of them is a sum of two distinct positive integers, which means and are blue (and in particular ). Now cannot be a difference of two red numbers (since is blue), so is red. Similarly has to be red since both and are blue. It follows that .
Since is red, it needs to be a sum of two distinct blue numbers. But a sum of two blue numbers cannot exceed Therefore, . If , then the only remaining possibility to express as a sum of two blue numbers is , but then is not a difference of two red numbers, contradiction. Similarly with . We have proved that . It remains to show that there exists a valid coloring for . We can color , , , , blue and , , , red. Correctness of this coloring follows from the simple arithmetic:
Since is red, it needs to be a sum of two distinct blue numbers. But a sum of two blue numbers cannot exceed Therefore, . If , then the only remaining possibility to express as a sum of two blue numbers is , but then is not a difference of two red numbers, contradiction. Similarly with . We have proved that . It remains to show that there exists a valid coloring for . We can color , , , , blue and , , , red. Correctness of this coloring follows from the simple arithmetic:
Final answer
9
Techniques
Coloring schemes, extremal argumentsOther