Maths Olympiad Prep

Library / /7 of 9

Combinatorics Difficulty 4.5 AIME Prove it Japan

Let aa and bb be positive integers. Suppose an a×ba \times b square grid is given and NN of the abab square boxes of the grid are marked by \checkmark. It was possible to mark all of the abab 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 NN in terms of aa and bb for which this is possible.

Solution

In the sequel, we assume that all of abab boxes of the original grid can be marked by repeating the given procedure a certain number of times after we reach the situation where NN of the boxes are marked, and we show that N(a1)(b1)N \geq (a - 1)(b - 1).

Suppose the last marked box to attain the goal of marking all of the abab boxes lies on the XX-th row and YY-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 NN boxes are achieved is at most a+b2a + b - 2. Furthermore, markings cannot be repeated consecutively on any row or column. Therefore, the number of markings performed after NN boxes are marked (including the last marking) is at most a+b1a + b - 1. Since the number of \checkmark increases by 11 at each marking, we need, in order to complete the marking of all the abab boxes, to have Nab(a+b1)=(a1)(b1)N \geq ab - (a + b - 1) = (a - 1)(b - 1).

Thus, we conclude that (a1)(b1)(a-1)(b-1) is the desired answer to the problem.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.