Browse · MathNet
PrintTHE Tenth ROMANIAN MASTER OF MATHEMATICS
Romania counting and probability
Problem
Fix an integer . An sieve is an array with cells removed so that exactly one cell is removed from every row and every column. A stick is a or array for any positive integer . For any sieve , let be the minimal number of sticks required to partition . Find all possible values of , as varies over all possible sieves.
Palmer Mebane, U.S.A., and Nikolai Beluhov, Bulgaria


Palmer Mebane, U.S.A., and Nikolai Beluhov, Bulgaria
Solution
By holes we mean the cells which are cut out from the board. The cross of a hole in is the union of the row and the column through that hole.
Arguing indirectly, consider a dissection of into or fewer sticks. Horizontal sticks are all labeled , and vertical sticks are labeled ; sticks are both horizontal and vertical, and labeled arbitrarily. Each cell of inherits the label of the unique containing stick.
Assign each stick in the dissection to the cross of the unique hole on its row, if the stick is horizontal; on its column, if the stick is vertical.
Since there are at most sticks and exactly crosses, there are two crosses each of which is assigned to at most one stick in the dissection. Let the crosses be and , centered at and , respectively, and assume, without loss of generality, and . The sticks covering the cells and have like labels, for otherwise one of the two crosses would be assigned to at least two sticks. Say the common label is , so each of and contains a stick covering one of those two cells. It follows that the lower (respectively, upper) arm of (respectively, ) is all-, and the horizontal arms of both crosses are all-, as illustrated below.
All other columns contain at least one -stick each. In addition, all rows below and all rows above contain at least one -stick each. This amounts to a total of at least sticks – a contradiction.
Remark. The solution may equally well be concluded as follows. Since and are proved to contain one stick each, there is a third cross centered at also containing at most one stick. It meets the horizontal arms of and at two -cells, so the cells where two of the three crosses meet are all labeled . Assuming, without loss of generality, , it follows that both vertical arms of contain -cells, so is assigned to two different -sticks – a contradiction.
Second solution. (Ilya Bogdanov) We provide a different proof that .
Call a stick vertical if it is contained in some column, and horizontal if it is contained in some row; sticks may be called arbitrarily, but any of them is supposed to have only one direction. Assign to each vertical/horizontal stick the column/row it is contained in. If each row and each column is assigned to some stick, then there are at least sticks, which is even more than we want. Thus we assume, without loss of generality, that some exceptional row is not assigned to any stick. This means that all existing cells in belong to distinct vertical sticks; call these sticks central.
Now we mark cells on the board in the following manner. (↓) For each hole below , we mark the cell just under ; (↑) for each hole above , we mark the cell just above ; and (●) for the hole in , we mark both the cell just above it and just below it. We have described cells, but exactly two of them are out of the board; so cells are marked within the board. A sample marking is shown in the figure below, where the marked cells are crossed.
Notice that all the marked cells lie in different rows, and all of them are marked in different columns, except for those two marked for (●); but the latter two have a hole between them. So no two marked cells may belong to the same stick. Moreover, none of them lies in a central stick, since the marked cells are separated from by the holes. Thus the marked cells should be covered by different sticks (call them border) which are distinct from the central sticks. This shows that there are at least distinct sticks, as desired.
Third solution. To prove , it is sufficient to show that there are cells in , no two of which may be contained in the same stick.
To this end, consider the bipartite graph with parts and , where the vertices in (respectively, ) are the maximal sticks is dissected into by all horizontal (respectively, vertical) grid lines, two sticks being joined by an edge in if and only if they share a cell.
We show that admits a perfect matching by proving that it fulfils the condition in Hall's theorem; the cells corresponding to the edges of this matching form the desired set. It is sufficient to show that every subset of has at least neighbours (in , of course).
Let be the set of all sticks in that contain a cell in the leftmost column of , and let be the set of all sticks in that contain a cell in the rightmost column of ; let be the length of the longest stick in (zero if is empty), and let be the length of the longest stick in (zero if is empty). Since every row of contains exactly one hole, and partition ; and since every column of contains exactly one hole, neither nor contains two sticks of the same size, so and , whence . If , we are done, since there are at least vertical sticks covering the cells of the longest sticks in and . So let , in which case the sticks in span all columns, and notice that we are again done if , to assume further . Let , let be set of all neighbours of , and let . Since the sticks in span all columns, , so . Transposition of the above argument (replace by ), shows that , so .
Remark. The case may equally well be dealt with as follows. Add to two empty sticks formally present to the left (respectively, right) of the leftmost (respectively, rightmost) hole. Then there are at least rows containing two sticks from , so two of these rows are separated by at least other rows. Each hole in these rows separates two vertical sticks from both of which are neighbours of . Consequently, has at least neighbours.
Fourth solution. Induct on to prove that . The base cases and are readily dealt with, so let and consider any dissection of into sticks. Define the cross of a hole as in Solution 1, and notice that each stick is contained in some cross.
If the dissection contains more than sticks, some cross contains at least two sticks. Remove such a cross from the sieve and glue pieces together along corresponding edges to form an sieve. The dissection of the original sieve induces a dissection of the new sieve: Upon removal, a stick may split into two substicks that glue back together to form a stick in the new sieve. After this operation has been performed, the number of sticks decreases by at least 2, and since by the induction hypothesis the number of sticks in the new dissection is at least , the initial dissection contains at least sticks.
There are several different ways to rule out the case where the dissection contains at most sticks. For instance, removal of a cross containing some stick. The induced dissection of the resulting sieve contains at most sticks, which is impossible by the induction hypothesis, since .
Therefore, for any sieve , .
Arguing indirectly, consider a dissection of into or fewer sticks. Horizontal sticks are all labeled , and vertical sticks are labeled ; sticks are both horizontal and vertical, and labeled arbitrarily. Each cell of inherits the label of the unique containing stick.
Assign each stick in the dissection to the cross of the unique hole on its row, if the stick is horizontal; on its column, if the stick is vertical.
Since there are at most sticks and exactly crosses, there are two crosses each of which is assigned to at most one stick in the dissection. Let the crosses be and , centered at and , respectively, and assume, without loss of generality, and . The sticks covering the cells and have like labels, for otherwise one of the two crosses would be assigned to at least two sticks. Say the common label is , so each of and contains a stick covering one of those two cells. It follows that the lower (respectively, upper) arm of (respectively, ) is all-, and the horizontal arms of both crosses are all-, as illustrated below.
All other columns contain at least one -stick each. In addition, all rows below and all rows above contain at least one -stick each. This amounts to a total of at least sticks – a contradiction.
Remark. The solution may equally well be concluded as follows. Since and are proved to contain one stick each, there is a third cross centered at also containing at most one stick. It meets the horizontal arms of and at two -cells, so the cells where two of the three crosses meet are all labeled . Assuming, without loss of generality, , it follows that both vertical arms of contain -cells, so is assigned to two different -sticks – a contradiction.
Second solution. (Ilya Bogdanov) We provide a different proof that .
Call a stick vertical if it is contained in some column, and horizontal if it is contained in some row; sticks may be called arbitrarily, but any of them is supposed to have only one direction. Assign to each vertical/horizontal stick the column/row it is contained in. If each row and each column is assigned to some stick, then there are at least sticks, which is even more than we want. Thus we assume, without loss of generality, that some exceptional row is not assigned to any stick. This means that all existing cells in belong to distinct vertical sticks; call these sticks central.
Now we mark cells on the board in the following manner. (↓) For each hole below , we mark the cell just under ; (↑) for each hole above , we mark the cell just above ; and (●) for the hole in , we mark both the cell just above it and just below it. We have described cells, but exactly two of them are out of the board; so cells are marked within the board. A sample marking is shown in the figure below, where the marked cells are crossed.
Notice that all the marked cells lie in different rows, and all of them are marked in different columns, except for those two marked for (●); but the latter two have a hole between them. So no two marked cells may belong to the same stick. Moreover, none of them lies in a central stick, since the marked cells are separated from by the holes. Thus the marked cells should be covered by different sticks (call them border) which are distinct from the central sticks. This shows that there are at least distinct sticks, as desired.
Third solution. To prove , it is sufficient to show that there are cells in , no two of which may be contained in the same stick.
To this end, consider the bipartite graph with parts and , where the vertices in (respectively, ) are the maximal sticks is dissected into by all horizontal (respectively, vertical) grid lines, two sticks being joined by an edge in if and only if they share a cell.
We show that admits a perfect matching by proving that it fulfils the condition in Hall's theorem; the cells corresponding to the edges of this matching form the desired set. It is sufficient to show that every subset of has at least neighbours (in , of course).
Let be the set of all sticks in that contain a cell in the leftmost column of , and let be the set of all sticks in that contain a cell in the rightmost column of ; let be the length of the longest stick in (zero if is empty), and let be the length of the longest stick in (zero if is empty). Since every row of contains exactly one hole, and partition ; and since every column of contains exactly one hole, neither nor contains two sticks of the same size, so and , whence . If , we are done, since there are at least vertical sticks covering the cells of the longest sticks in and . So let , in which case the sticks in span all columns, and notice that we are again done if , to assume further . Let , let be set of all neighbours of , and let . Since the sticks in span all columns, , so . Transposition of the above argument (replace by ), shows that , so .
Remark. The case may equally well be dealt with as follows. Add to two empty sticks formally present to the left (respectively, right) of the leftmost (respectively, rightmost) hole. Then there are at least rows containing two sticks from , so two of these rows are separated by at least other rows. Each hole in these rows separates two vertical sticks from both of which are neighbours of . Consequently, has at least neighbours.
Fourth solution. Induct on to prove that . The base cases and are readily dealt with, so let and consider any dissection of into sticks. Define the cross of a hole as in Solution 1, and notice that each stick is contained in some cross.
If the dissection contains more than sticks, some cross contains at least two sticks. Remove such a cross from the sieve and glue pieces together along corresponding edges to form an sieve. The dissection of the original sieve induces a dissection of the new sieve: Upon removal, a stick may split into two substicks that glue back together to form a stick in the new sieve. After this operation has been performed, the number of sticks decreases by at least 2, and since by the induction hypothesis the number of sticks in the new dissection is at least , the initial dissection contains at least sticks.
There are several different ways to rule out the case where the dissection contains at most sticks. For instance, removal of a cross containing some stick. The induced dissection of the resulting sieve contains at most sticks, which is impossible by the induction hypothesis, since .
Therefore, for any sieve , .
Final answer
2n - 2
Techniques
Matchings, Marriage Lemma, Tutte's theoremPigeonhole principleInduction / smoothingColoring schemes, extremal arguments