Browse · MathNet
Print6-th Czech-Slovak Match
Czech Republic counting and probability
Problem
Suppose that every integer has been given one of the colors red, blue, green, yellow. Let and be odd integers such that . Show that there are two integers of the same color whose difference has one of the following values: , , , .
Solution
We denote colors by capital initial letters. Let us suppose that there exists a coloring such that for any we have . We now define a coloring of an integer lattice by the rule . It follows that every unit square in must have its vertices colored by four different colors. If there is a row or column with period 2, then applying the condition to adjacent unit squares, we get (by induction) that all rows or columns, respectively, have period 2.
On the other hand, taking a row to be not of period 2, i.e., containing a sequence of three distinct colors, for example GRY, we get that the next row must contain in these columns YBG, and the following GRY, and so on. It would follow that a column in this case must have period 2. A similar conclusion holds if we start with an aperiodic column. Hence either all rows or all columns must have period 2.
Let us assume WLOG that all rows have a period of 2. Assuming WLOG , we get that the even rows are painted with and odd with . Since is odd, it follows that and are of different color. However, since , this is a contradiction. Hence the statement of the problem holds. □
On the other hand, taking a row to be not of period 2, i.e., containing a sequence of three distinct colors, for example GRY, we get that the next row must contain in these columns YBG, and the following GRY, and so on. It would follow that a column in this case must have period 2. A similar conclusion holds if we start with an aperiodic column. Hence either all rows or all columns must have period 2.
Let us assume WLOG that all rows have a period of 2. Assuming WLOG , we get that the even rows are painted with and odd with . Since is odd, it follows that and are of different color. However, since , this is a contradiction. Hence the statement of the problem holds. □
Techniques
Coloring schemes, extremal argumentsInduction / smoothingIntegers