Browse · MathNet
PrintBMO 2010 Shortlist
2010 counting and probability
Problem
Integers are written in the cells of a table . Adding to all the numbers in a row or in a column is called a move. We say that the table is equilibrium if one can obtain after finitely many moves a table in which all the numbers are equal.
a) Find the largest positive integer , for which there exists an equilibrium table containing the numbers .
b) For this , find the maximal number that may be contained in such a table.
a) Find the largest positive integer , for which there exists an equilibrium table containing the numbers .
b) For this , find the maximal number that may be contained in such a table.
Solution
a) We shall prove that for a table () the answer is ; in particular for .
Denote by the number written in the cell (). Let , , and be numbers written in cells, which centers form a rectangle with the sides parallel to those of the table. Note that any move preserves the number . Hence for any equilibrium table one has that Therefore, such a table is determined by arbitrary parameters; for example, the numbers in the first row and the first column. Any such table is equilibrium. Indeed, by moves on the columns we may obtain equal numbers in the first row. It follows from (1) that the numbers in any row are equal. Then by moves on the rows we may achieve all the numbers in the table to be equal. As a consequence, for we can construct an equilibrium table, containing numbers: .
We shall show that this is the largest integer , i.e. the numbers cannot be placed in an equilibrium table . We shall show a more general statement.
Lemma. The integers () can be placed in a equilibrium table if and only if there exists , , such that after a permutation of these numbers one has that Proof. Assume that such a location is possible. We shall prove (2) by induction on . For this follows from (1) for .
Suppose that our statement is true for some . Consider an equilibrium table , containing the numbers .
If some row and some column contains each at most one of these numbers, we delete this row and this column and we get an equilibrium table , containing at least of the 's. Applying the induction after a permutation of 's the hypothesis gives (2).
Let some row contain at most one , but none of the columns has this property. This means that every column contains exactly two 's. We delete our row and the column that contains the respective if there is such , or any column if there is no such , and we get an equilibrium table , containing of the 's, and then we continue as above.
The situation is the same if some column contains at most one , but no rows have this property.
It remains to consider the case, when any row and any column contain exactly two 's. After permutations of the rows and columns we may assume that (after a permutation of 's) and for , for some . Then Hence for and . Summing up these equalities we get that and (2) is proved.
Conversely, if (2) holds for some (possible not unique), we set and for , . If , we place others 's by following: , for . Using (1) we determine consecutively the missing elements in the first row and the first column . It is easy to check that (1) "completes" the table to an equilibrium one. The Lemma is proved.
Now suppose that there exists a equilibrium table containing the numbers . By Lemma it follows that for some numbers among them the equality (2) holds. Dividing the both parts of the equality by the least term, we obtain an equality, where one term equals and all others are even, a contradiction.
b) Assume that the equilibrium table contains the numbers . According to Lemma the equality (2) holds for some numbers with . By similar to given above reasons one concludes that the number must be involved in this equality. Assume that . Then . The maximal value of is reach for , and it is equal to In particular, for we obtain .
Denote by the number written in the cell (). Let , , and be numbers written in cells, which centers form a rectangle with the sides parallel to those of the table. Note that any move preserves the number . Hence for any equilibrium table one has that Therefore, such a table is determined by arbitrary parameters; for example, the numbers in the first row and the first column. Any such table is equilibrium. Indeed, by moves on the columns we may obtain equal numbers in the first row. It follows from (1) that the numbers in any row are equal. Then by moves on the rows we may achieve all the numbers in the table to be equal. As a consequence, for we can construct an equilibrium table, containing numbers: .
We shall show that this is the largest integer , i.e. the numbers cannot be placed in an equilibrium table . We shall show a more general statement.
Lemma. The integers () can be placed in a equilibrium table if and only if there exists , , such that after a permutation of these numbers one has that Proof. Assume that such a location is possible. We shall prove (2) by induction on . For this follows from (1) for .
Suppose that our statement is true for some . Consider an equilibrium table , containing the numbers .
If some row and some column contains each at most one of these numbers, we delete this row and this column and we get an equilibrium table , containing at least of the 's. Applying the induction after a permutation of 's the hypothesis gives (2).
Let some row contain at most one , but none of the columns has this property. This means that every column contains exactly two 's. We delete our row and the column that contains the respective if there is such , or any column if there is no such , and we get an equilibrium table , containing of the 's, and then we continue as above.
The situation is the same if some column contains at most one , but no rows have this property.
It remains to consider the case, when any row and any column contain exactly two 's. After permutations of the rows and columns we may assume that (after a permutation of 's) and for , for some . Then Hence for and . Summing up these equalities we get that and (2) is proved.
Conversely, if (2) holds for some (possible not unique), we set and for , . If , we place others 's by following: , for . Using (1) we determine consecutively the missing elements in the first row and the first column . It is easy to check that (1) "completes" the table to an equilibrium one. The Lemma is proved.
Now suppose that there exists a equilibrium table containing the numbers . By Lemma it follows that for some numbers among them the equality (2) holds. Dividing the both parts of the equality by the least term, we obtain an equality, where one term equals and all others are even, a contradiction.
b) Assume that the equilibrium table contains the numbers . According to Lemma the equality (2) holds for some numbers with . By similar to given above reasons one concludes that the number must be involved in this equality. Assume that . Then . The maximal value of is reach for , and it is equal to In particular, for we obtain .
Final answer
a) 4018; b) 2^{4019} - 2^{2010} + 1
Techniques
Invariants / monovariantsInduction / smoothingSums and products