Example 13 (1999 IMO Shortlist) Suppose each integer is colored red, blue, green, or yellow, are odd, and . Prove that there exist two integers of the same color, whose difference equals one of , or .
保留源文本的换行和格式,直接输出翻译结果。
Example 13 (1999 IMO Shortlist) Suppose each integer is colored red, blue, green, or yellow, are odd, and . Prove that there exist two integers of the same color, whose difference equals one of , or .
保留源文本的换行和格式,直接输出翻译结果。
Assume there exists a color function , such that for any integer , we have
where represents red, represents blue, represents green, and represents yellow. Let , and
Thus, in the Cartesian coordinate system, each unit square's vertices have four different colors.
(1) If there exists a column of integer pairs , such that is not a periodic function with period 2, then there exists a row of integer pairs , such that is a periodic function with period 2.
Actually, if is not a periodic function with period 2, then in this column, there must be three adjacent integers
with different colors, let's assume they are . Considering the adjacent unit squares' vertices, we have , and thus
YRY
YRYRY
and so on. Therefore, we obtain three rows of integer pairs, such that the function restricted to these three rows is a periodic function with period 2.
(2) If for an integer is a periodic function with period 2, then for every , is a periodic function with period 2. If , then the range of is the same as the range of ; if , then the range of is the other two values different from the range of .
Actually, for the integer points on the -th row, let's assume they are , using the property of the unit square's vertices, we have . RBRBR , and thus
For the situation below the -th row, we can reach the same conclusion.
By changing rows and columns, we can obtain the same conclusions as (1) and (2). Assuming the rows are periodic with period 2, and , , then , where is an odd number. If is odd, then . Since , this leads to a contradiction.
Let the subset with an odd number of elements be , then the union of and is an odd subset. Conversely, any odd subset of can be written as the union of and .
can be chosen in ways.
can be chosen in
Thus,
By (1), we have
(3) Let represent the sum of the capacities of all odd (even) subsets of .
If is odd .
All odd subsets of can be composed of the following two types of subsets: (1) odd subsets of . (2) the union of each even subset of and the set . Thus,
Similarly, we get
Comparing equations (2) and (3), we get
If is even .
All odd subsets of can be composed of the following two types of subsets: (1) all odd subsets of ; (2) the union of each odd subset of and the set . Thus,
Similarly, we get
By (4) and (5) and , we get .
In summary, we have proved that for any .
(4) The complement of in is denoted as , then the sum of the capacities of and equals the capacity of , i.e., . Therefore, the sum of the capacities of all subsets of is
Since , we have