The numbers through are to be written in the cells of a board.
(a) Prove that this can be done in such a way that any two numbers in cells that share a side differ by at most .
(b) Prove that this cannot be done in such a way that any two numbers in cells that share a side differ by at most .
Problem 1466
Official solution
### Part (a)
We need to prove that the numbers through can be arranged on a board such that any two numbers in cells that share a side differ by at most .
Consider the following arrangement:
We will check the differences between adjacent cells:
- For the first row: , ,
- For the second row: , ,
- For the third row: , ,
- For the fourth row: , ,
For the columns:
- For the first column: , ,
- For the second column: , ,
- For the third column: , ,
- For the fourth column: , ,
All differences are , so the arrangement satisfies the condition.
### Part (b)
We need to prove that it is impossible to arrange the numbers through on a board such that any two numbers in cells that share a side differ by at most .
First, note that the difference between the largest number (16) and the smallest number (1) is . If any two adjacent cells differ by at most , then the minimum number of steps required to go from to is steps. This means that and must be at least 5 cells apart.
Consider the following board with in the top-left corner and in the bottom-right corner:
For and to be 5 cells apart, we need to ensure that the differences between adjacent cells are at most . Let's analyze the path from to :
1.
2.
3.
4.
5.
Adding these inequalities, we get:
This is true, but it implies that must be specific values to satisfy the constraints. Let's consider the values:
-
-
-
-
Now, consider the other cells. For example, must satisfy and . This implies and , but is already used for . This leads to a contradiction because all numbers must be unique.
Therefore, it is impossible to arrange the numbers through on a board such that any two numbers in cells that share a side differ by at most .