Browse · MathNet
PrintBulgarian National Olympiad
Bulgaria counting and probability
Problem
Let be an integer. A set of natural numbers is called good if all positive integers can be painted in colors such that no element of is a sum of two distinct numbers having one and the same color. Find the largest positive integer for which the set is good for all positive integers .
Solution
We show that the desired number equals .
Consider the set . The sum of any two distinct numbers from is an element of . Since among there exist two numbers having one and the same color we conclude that is not good. Now implies .
It remains to prove that the set is good for any .
1. Let be an odd number. Color the numbers in the first color and every of the numbers for in color . Let all numbers greater than be of color . It is easy to see that the sum of any two numbers of one and the same color is not an element of .
2. Let be an even number. Color the numbers in the first color and every of the numbers for in color . Let all numbers greater than be of color . It is easy to see that the sum of any two numbers of one and the same color is not an element of .
Consider the set . The sum of any two distinct numbers from is an element of . Since among there exist two numbers having one and the same color we conclude that is not good. Now implies .
It remains to prove that the set is good for any .
1. Let be an odd number. Color the numbers in the first color and every of the numbers for in color . Let all numbers greater than be of color . It is easy to see that the sum of any two numbers of one and the same color is not an element of .
2. Let be an even number. Color the numbers in the first color and every of the numbers for in color . Let all numbers greater than be of color . It is easy to see that the sum of any two numbers of one and the same color is not an element of .
Final answer
2k - 2
Techniques
Coloring schemes, extremal argumentsPigeonhole principle