Let be an odd positive integer, and consider an infinite square grid. Prove that it is impossible to fill in one of or in every cell, which simultaneously satisfies the following conditions:
(1) Any two cells which share a common side does not have the same number filled in them.
(2) For any or subgrid, the numbers filled does not contain in that order be it reading from top to bottom, bottom to top, or left to right, or right to left.
(3) The sum of numbers of any subgrid is the same.
Problem 1675
Official solution
1. Initial Assumptions and Setup:
- Let be an odd positive integer.
- Consider an infinite square grid where each cell is filled with one of the numbers or .
- The grid must satisfy the following conditions:
1. Any two cells sharing a common side do not have the same number.
2. For any or subgrid, the numbers filled do not contain in that order, regardless of the reading direction.
3. The sum of numbers in any subgrid is the same.
2. Analyzing the Grid:
- We start by analyzing the placement of the number since it is the most restricted by condition 2.
- If there are no 's, the grid must be a checkerboard pattern of and . This can be easily eliminated by condition 3.
- If the 's form a checkerboard pattern, this can also be eliminated using condition 3.
3. Lemma:
- Lemma: The 4 adjacent cells (buddies) of any cell labeled have equal labels.
- Proof:
- Label the cell with as in the coordinate plane.
- By condition 2, the two numbers to the left and right of a must be equal.
- Assume the 4 buddies are not all equal. We must have a configuration like:
- This configuration leads to a periodic pattern with period 2 along the rows and columns, implying 's appear in a checkerboard fashion, which contradicts our earlier elimination. Hence, the 4 buddies of any must be equal.
4. Claim:
- Claim: Let be a . WLOG, the 4 buddies around it are . Then for any point :
- Proof:
- Consider the quadrant . We use induction on .
- Base case is clear.
- Suppose is odd. We know is or by induction.
- If , then , so .
- If , then is or .
- This proves the claim for odd. The case for even is similar.
5. Coloring the Board:
- Color the board black and white like a checkerboard, with at a white square.
- The claim tells us that all points an odd taxicab distance from are or , and all points an even taxicab distance from are or .
- Hence, all black squares are or , and all white squares are or .
6. Using Condition 3:
- Define the diversity of a box as the number of 's on black squares minus the number of 's on white squares.
- Define as the sum of the numbers in the box.
- Since has one more black square than , we have:
- Removing the center block, this is equivalent to:
- Let and , where:
- By the definition of diversity, we have:
- Therefore:
- Shifting the strips up by 1, we get:
- Subtracting these equations, we get:
- Since for all , this implies:
- Therefore, all of are . By similar logic, are all , leading to a contradiction.