Maths Olympiad Prep

Library / /149 of 299

Combinatorics Difficulty 6.5 National Olympiad Prove it Iran

Sahand and Gholam play on a 1403×14031403 \times 1403 grid, initially with all cells white. For each row and each column, there is a button (total 2×1403=28062 \times 1403 = 2806 buttons). Starting with Sahand, each player, in his turn, presses a button that has not yet been pressed. Then it's the other player's turn, until all buttons are pressed. When Sahand presses a button for a row or a column, all cells in that row or column turn to black, regardless of their color before pressing the button. When Gholam presses a button for a row or a column, all cells in that row or column turn to red, regardless of their color before pressing the button.

At the end, after all buttons have been pressed, Gholam's score is the number of red cells minus the number of black cells. Sahand's score is the number of black cells minus the number of red cells. If Gholam and Sahand both play their best, what would be the minimum score of Gholam? (In other words, find the least score Gholam can guarantee for himself, regardless of Sahand's moves.)

Solution

In general, for an n×nn \times n table, we claim the answer is nn. First, we describe Gholam's strategy to achieve this score. Whenever Sahand presses a row button, Gholam in his next turn presses a column button. By the time Sahand presses a column button, Gholam presses a row button.

Suppose that Sahand picks kk rows and nkn-k columns. Then from a column Gholam picks corresponding to Sahand's ii-th row choice, at least nk+in-k+i cells remain red, since only rows Sahand picks after this can turn a cell in this column black. On the other hand, if Gholam picks a row which is the jj-th row chosen, we get at least jj new red cells because njn-j columns remain, any of which could be black or already counted. Therefore, in total, we at least yield (1+2++nk)+(nk+1+nk+2++n)=n2+n2(1+2+\cdots+n-k)+(n-k+1+n-k+2+\cdots+n) = \frac{n^2+n}{2} red cells, which is at least nn more than the black cells.

To show that Gholam cannot performs better, we must show Sahand has a strategy that ensures his score is at least n-n. Suppose Sahand makes the first row black. From then on, whenever Gholam chooses a row, Sahand chooses a column, and vice-versa. Analogously, if Gholam chooses kk columns and his last choice is a column, at least (1+2++nk)+(nk+1+nk+2++n1)(1+2+\cdots+n-k)+(n-k+1+n-k+2+\cdots+n-1) cells become black. If Gholam's last choice is a row, at least (1+2++(nk1))+(nk+1+nk+2++n1+n)(1+2+\cdots+(n-k-1))+(n-k+1+n-k+2+\cdots+n-1+n) cells become black. Both these sums are at least n2n2\frac{n^2-n}{2}.

Other ways exist to prove this part, for example, by induction and analysis after Gholam's first move.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.