Browse · MathNet
PrintEuropean Mathematical Cup
North Macedonia counting and probability
Problem
We are given an board. Rows are labeled with numbers to downwards and columns are labeled with numbers to from left to right. On each field we write the number where are its coordinates. We are given a figure and can initially place it on any field. In every step we can move the figure from one field to another if the other field has not already been visited and if at least one of the following conditions is satisfied: the numbers in those 2 fields give the same remainders when divided by those fields are point reflected with respect to the center of the board
Can all the fields be visited in case:
a)
b)
Can all the fields be visited in case:
a)
b)
Solution
a) The answer is NO.
On the left we have the board from the problem, on the right we have the same board, but with remainders of the values from the board instead of the values themselves. We will denote field for a field with number written on it in the right table. Let's assume that we can visit all of the fields. That means that at some point we will visit a field . Obviously, when using the first type of move, we can visit any other field which hasn't yet been visited. Also, it is easy to notice, that for field , the reflection of that field is also a field . That means that both types of moves lead to another field . Also, in the same fashion we conclude that for each step, if the figure is on the field , then in the step after (if that wasn't the last one) and in the step before (if that wasn't the first one) should be field . Now we conclude that the first visited field must be the field visited in the first step. Same way we conclude that the last visited field must be the field visited in the last step. But, we know that all of fields are visited consecutively, in exactly moves (because there are fields ), while there are exactly moves that we have to make. This leads to contradiction.
b) The answer is YES.
We can move from any field to another with the same number written on the field in the right table by using the second move. One idea to visit all the fields is the following: find the pairs of the fields of types field and field , such that all fields are different, in each pair , those two fields in one pair are symmetric, and the second member of the -th pair has the same value on the right board as the first member of the -th pair. Also, we want that all the values of the right table are mentioned through members of those pairs. For example: Now, the algorithm is: after second member of -th pair and before the first member of the -th pair visit all fields by using the first step. Of course, before first pair and after fourth pair move in similar way. Jump from the first member of the pair to the second member of the pair by using second step. This is one of the ways to do it: We start with the field . Then we visit all of the field , using the first move, in any way as long as the last visited field is . Then, using the second move, we visit the field . Again, using the first move we visit all fields in any way as long as the last visited field is . Using the second move we visit the field . Then, using the first move we visit all fields in any way as long as the last visited field . In same fashion, using the second move we visit the field using the second move. We conclude by visiting all fields in any way.
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 1 | 2 | 5 | 10 | 17 |
| 2 | 5 | 8 | 13 | 20 |
| 3 | 10 | 13 | 18 | 25 |
| 4 | 17 | 20 | 25 | 36 |
| 1 | 2 | 3 | 4 |
|---|---|---|---|
| 2 | 1 | 2 | 1 |
| 1 | 0 | 1 | 0 |
| 2 | 1 | 2 | 1 |
| 1 | 0 | 1 | 0 |
b) The answer is YES.
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 1 | 2 | 5 | 10 | 17 | 26 |
| 2 | 5 | 8 | 13 | 20 | 29 |
| 3 | 10 | 13 | 18 | 25 | 34 |
| 4 | 17 | 20 | 25 | 36 | 41 |
| 5 | 26 | 29 | 34 | 41 | 50 |
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 1 | 2 | 0 | 0 | 0 | 1 |
| 2 | 0 | 3 | 3 | 0 | 4 |
| 3 | 0 | 3 | 3 | 0 | 4 |
| 4 | 2 | 0 | 0 | 2 | 1 |
| 5 | 1 | 4 | 4 | 1 | 0 |
Final answer
a) No; b) Yes
Techniques
Graph TheoryInvariants / monovariantsColoring schemes, extremal argumentsModular Arithmetic