Browse · MathNet
PrintJapan Junior Mathematical Olympiad
Japan counting and probability
Problem
Let and be positive integers. Suppose an square grid is given and of the square boxes of the grid are marked by . It was possible to mark all of the boxes by repeating the following procedure:
Procedure: If you find a row or a column of the boxes for which all but one of the boxes lying in it are marked, then mark its remaining box.
Express the minimum possible value of in terms of and for which this is possible.
Procedure: If you find a row or a column of the boxes for which all but one of the boxes lying in it are marked, then mark its remaining box.
Express the minimum possible value of in terms of and for which this is possible.
Solution
In the sequel, we assume that all of boxes of the original grid can be marked by repeating the given procedure a certain number of times after we reach the situation where of the boxes are marked, and we show that .
Suppose the last marked box to attain the goal of marking all of the boxes lies on the -th row and -th column. Then, we see that the sum of the number of rows and the number of columns on which the markings were performed prior to the last marking and after the marking of boxes are achieved is at most . Furthermore, markings cannot be repeated consecutively on any row or column. Therefore, the number of markings performed after boxes are marked (including the last marking) is at most . Since the number of increases by at each marking, we need, in order to complete the marking of all the boxes, to have .
Thus, we conclude that is the desired answer to the problem.
Suppose the last marked box to attain the goal of marking all of the boxes lies on the -th row and -th column. Then, we see that the sum of the number of rows and the number of columns on which the markings were performed prior to the last marking and after the marking of boxes are achieved is at most . Furthermore, markings cannot be repeated consecutively on any row or column. Therefore, the number of markings performed after boxes are marked (including the last marking) is at most . Since the number of increases by at each marking, we need, in order to complete the marking of all the boxes, to have .
Thus, we conclude that is the desired answer to the problem.
Final answer
(a - 1)(b - 1)
Techniques
Coloring schemes, extremal argumentsInvariants / monovariantsAlgorithms