Maths Olympiad Prep

Library / /298 of 520

Combinatorics Difficulty 7.0 National olympiad, round 2 Find the answer

Given a n×mn\times m grid we play the following game . Initially we place MM tokens in each of MM empty cells and at the end of the game we need to fill the whole grid with tokens.For that purpose we are allowed to make the following move:If an empty cell shares a common side with at least two other cells that contain a token then we can place a token in this cell.Find the minimum value of MM in terms of m,nm,n that enables us to win the game.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

1. Understanding the Problem:
We need to fill an n×m n \times m grid with tokens starting from M M initial tokens placed in M M empty cells. The rule for placing a token in an empty cell is that it must share a common side with at least two other cells that contain a token. We need to find the minimum value of M M in terms of n n and m m that allows us to fill the entire grid.

2. Analyzing the Grid:
- Each boundary row and column must contain at least one token.
- Consider the bottom row. There must be at least one token in this row, say T1 T_1 .
- If there are no tokens in the two rows above T1 T_1 , we cannot fill the grid. Therefore, there must be at least one token in these two rows.
- To minimize the number of tokens, this token should not be in the adjacent row to T1 T_1 . If this token is not in the same column as T1 T_1 , we cannot fill the grid. Hence, these two tokens must be in the same column.

3. Minimum Tokens in a Column:
- Continuing this logic, there must be at least n2 \left\lceil \frac{n}{2} \right\rceil tokens in this column.

4. Minimum Tokens in a Row:
- Similarly, for columns, there must be at least m2 \left\lceil \frac{m}{2} \right\rceil tokens in some row.

5. Combining Rows and Columns:
- Since a column and a row can coincide in at most one square, we must have at least m2+n21 \left\lceil \frac{m}{2} \right\rceil + \left\lceil \frac{n}{2} \right\rceil - 1 tokens.

6. Special Cases:
- For n n and m m both odd, we can provide an example with m2+n21 \left\lceil \frac{m}{2} \right\rceil + \left\lceil \frac{n}{2} \right\rceil - 1 tokens. Place one token in the top right corner and start placing tokens in the first row and first column such that each token is placed in a square 2 columns/rows away from the last token placed in that column/row. This configuration works.

7. Even Dimensions:
- If n n is even, a column has at least n2 \left\lceil \frac{n}{2} \right\rceil tokens, leaving one boundary square without a token. If we do not place an extra token in this square, the column with m2 \left\lceil \frac{m}{2} \right\rceil tokens must go through this boundary square, making it impossible to fill the grid with m2+n21 \left\lceil \frac{m}{2} \right\rceil + \left\lceil \frac{n}{2} \right\rceil - 1 tokens. Therefore, we need m2+n2 \left\lceil \frac{m}{2} \right\rceil + \left\lceil \frac{n}{2} \right\rceil tokens.

The final answer is m2+n2 \boxed{ \left\lceil \frac{m}{2} \right\rceil + \left\lceil \frac{n}{2} \right\rceil } if one of m m or n n is even, and m2+n21 \left\lceil \frac{m}{2} \right\rceil + \left\lceil \frac{n}{2} \right\rceil - 1 otherwise.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.