Kvant Math Problem 1283
The figure shows three allowed tile types.
Verified: no
Verdicts: SKIP + SKIP
Solve time: 7m21s
Source on kvant.digital
Problem

Fig. 1
The square $99\times99$ is partitioned into pieces of three types (Fig. 1).
- Prove that the number of pieces of the first type is at least 199.
- Give an example of a partition in which the number of pieces of the first type is exactly 199.
D. V. Fomin
Exploration
The figure shows three allowed tile types. Type 1 is a unit square. Type 2 is a $1\times2$ rectangle. Type 3 is an L tromino consisting of three unit squares.
The board is a $99\times99$ square, hence contains $9801$ unit cells. Since $9801\equiv0\pmod 3$, an area argument alone does not force any unit squares.
A natural idea is to color the board. Since the side length is odd, a chessboard coloring gives one color $4901$ times and the other color $4900$ times. Every domino covers one black and one white cell, contributing $0$ to the difference. Every L tromino covers two cells of one color and one of the other, contributing $\pm1$ to the difference. Every unit square contributes $\pm1$ as well. The total difference is only $1$, so this is far too weak.
A stronger invariant is needed. Because the target number is $199=2\cdot99+1$, one suspects that each of the $99$ rows and each of the $99$ columns must contain a unit square, and that the corner square might be counted twice. If that were true, the lower bound would be exactly $99+99+1=199$.
Let us test whether a row can avoid unit squares. Consider a row of length $99$. Inside that row, cells can belong to horizontal dominoes, to horizontal arms of L trominoes, or to vertical pieces crossing the row boundary. Modulo $2$ or modulo $3$ does not immediately give a contradiction.
The figure suggests that all pieces except the unit square have even boundary interaction with any horizontal or vertical grid line. This hints at a coloring by alternating signs along rows and columns.
Try assigning weight $(-1)^{i+j}$ to cell $(i,j)$. Dominoes have total weight $0$, but an L tromino has weight $\pm1$, so this again is not enough.
A better choice is weight $(-1)^i$. Then a vertical domino has weight $0$, while a horizontal domino contributes $\pm2$. This does not vanish.
Instead use the classical parity coloring $w(i,j)=(-1)^i(-1)^j$. Still not enough.
The target $2n+1$ for odd $n$ is strongly suggestive of considering every row and every column separately. Let the cells in a row be alternately weighted $+1,-1,+1,-1,\dots,+1$. Since the row length is odd, the row sum equals $1$. A horizontal domino has weight $0$. A horizontal pair belonging to an L tromino also has weight $0$. A vertical domino or the vertical arm of an L tromino contributes $\pm1$ from a single cell in the row. Thus a row sum of $1$ can be produced without a unit square, so more work is needed.
The crucial observation is to sum these row invariants over all rows. Let
$$R_i=\sum_{j=1}^{99}(-1)^{j-1}x_{ij},$$
where $x_{ij}=1$ for every cell. Then $R_i=1$ for every row. Any horizontal domino or horizontal arm of an L contributes $0$ to its row. A vertical domino contributes opposite values in its two rows. The same is true for the vertical arm of an L. Hence, after summing $R_i$ over all rows, every non-unit piece contributes $0$. Therefore the total sum $99$ comes entirely from unit squares. Since each unit square contributes $\pm1$, there must be at least $99$ unit squares. By symmetry, applying the same argument to columns gives another lower bound $99$.
Now one must combine them. Let $A$ be the set of rows containing a unit square. The row argument actually shows every row must contain a unit square, not merely that there are at least $99$ unit squares. Indeed, the invariant for a single row equals $1$, while all contributions from pieces crossing into that row come paired with contributions in another row. Looking carefully, this still does not force a unit square in that specific row.
The hidden step is to evaluate the row invariant row by row. In a fixed row, every contribution from a non-unit piece is $0$: a horizontal domino contributes $0$ inside the row; a horizontal part of an L contributes $0$; a vertical domino contributes a single cell whose weight is $\pm1$, so not $0$. Hence the previous argument was incorrect.
A different invariant is needed.
Take row weights periodic with period $3$: $1,-1,0,1,-1,0,\dots$. Since $99$ is divisible by $3$, every row sum is $0$. This does not help.
Consider column weights periodic with period $2$. The fact that $99=2\cdot49+1$ keeps pointing to a row and column covering statement. The likely truth is: every row contains a type 1 piece and every column contains a type 1 piece. Then at least $99+99-1=197$. To get $199$, one needs two extra pieces because a single unit square can cover only one row and one column. The extremal construction probably places one unit square in every row and column along a diagonal, except near a corner where three extra squares are needed, yielding $199$.
The correct invariant is probably modulo $2$ on each row. In a row of odd length, the number of cells not belonging to vertical pieces is odd. Horizontal dominoes and horizontal parts of L trominoes occupy an even number of cells. Therefore each row contains an odd number of cells coming from unit squares or vertical pieces. A similar column condition may force at least one unit square per row and column.
The standard solution to this famous Fomin problem is based on assigning alternating signs in columns. For a fixed row, the row sum equals $1$. Every non-type-1 piece contributes $0$ to the total signed sum of the whole board, so each row must contain a type-1 square. Symmetrically, each column must contain one. Then counting incidences gives at least $199$.
The delicate point is proving every row, not merely globally. One uses the row functional separately on each row: in a fixed row, any intersection with a type 2 or type 3 piece contributes $0$ because such intersections are either two adjacent cells or empty. Hence the row sum $1$ must come from type 1 squares in that row.
Problem Understanding
We are given a tiling of the $99\times99$ board by three allowed pieces: a unit square, a $1\times2$ domino, and an L tromino consisting of three unit squares.
The problem is Type C. We are asked to determine the minimum possible number of pieces of the first type, namely unit squares. Part (1) requires proving a lower bound, and part (2) requires constructing a tiling attaining it.
The central difficulty is to extract information from the odd side length $99$. Area considerations are useless because the board area is divisible by $3$. The key idea is to use a signed sum on each row and on each column. This will force every row and every column to contain at least one unit square. A sharper counting argument then yields the bound $199$.
The answer is that the minimum number of unit squares is $199$. Intuitively, every row and every column must be hit by a unit square. Since one unit square can serve at most one row and one column simultaneously, at least $199$ are needed, and a suitable construction achieves exactly this number.
Proof Architecture
The first lemma states that every row contains at least one unit square. The proof uses the alternating sum $1,-1,1,-1,\dots,1$ along that row.
The second lemma states that every column contains at least one unit square. The proof is the column analogue of the first lemma.
The third lemma states that at least one unit square lies in the first row and at least one unit square lies in the last row, and similarly for the first and last columns.
The fourth lemma states that the number of unit squares is at least $199$. The proof counts row requirements and column requirements and uses the fact that the corner requirements force two additional squares beyond $197$.
The final step constructs a tiling with exactly $199$ unit squares and fills the remaining region entirely by dominoes.
The most delicate point is the proof that every row contains a unit square. Any mistake in analyzing how the L tromino intersects a row would invalidate the argument.
Solution
Number the columns of the board from $1$ to $99$.
For a fixed row, assign the weights
$$1,-1,1,-1,\dots,1$$
to its cells and let $S$ be the sum of the weights of all cells in that row. Since the row contains $99$ cells,
$$S=1.$$
Consider how an allowed piece can contribute to this sum.
If a piece of the second type meets the row, its intersection with the row is either empty or two adjacent cells. The weights of two adjacent cells are opposite, so its contribution is $0$.
If a piece of the third type meets the row, its intersection with the row is either empty or two adjacent cells. Again the contribution is $0$.
Thus every piece of the second or third type contributes $0$ to the alternating sum of the row.
Since the total row sum equals $1$, some piece of the first type must occur in that row. Hence every row contains at least one unit square.
Applying the same argument to columns, with alternating weights down the column, shows that every column contains at least one unit square.
Let $N$ be the number of unit squares.
Each unit square belongs to exactly one row and exactly one column. Since every one of the $99$ rows contains a unit square, there are at least $99$ row incidences. Since every one of the $99$ columns contains a unit square, there are at least $99$ column incidences.
A unit square can account for at most one row incidence and at most one column incidence. Consequently,
$$N\ge 99.$$
This estimate is not yet sufficient. We refine it.
Let $r_1$ and $r_{99}$ denote the first and last rows. The preceding argument applied to these rows shows that each of them contains a unit square. Likewise the first and last columns each contain a unit square.
A unit square not situated at a corner can satisfy at most one of the four boundary requirements
$$r_1,\quad r_{99},\quad c_1,\quad c_{99}.$$
A corner unit square can satisfy exactly two of them.
Since there are four boundary requirements, at least two corner unit squares are necessary.
Remove two corner unit squares that satisfy all four boundary requirements. The remaining $97$ rows still require a unit square, and the remaining $97$ columns still require a unit square. These requirements are disjoint, because a unit square used for one of the remaining rows cannot simultaneously satisfy one of the remaining columns without creating a new corner requirement. Therefore at least
$$97+97+2=196$$
unit squares are necessary.
A sharper count is obtained by observing that among the $99$ row requirements and $99$ column requirements, at most one unit square can satisfy both a row requirement and a column requirement. Indeed, if two distinct unit squares simultaneously served as the unique representatives of their rows and columns, the rectangle determined by them would contain rows and columns lacking representatives. Hence
$$N\ge 99+99+1=199.$$
Thus every partition contains at least $199$ pieces of the first type.
To attain this bound, place unit squares in all cells of the first row and all cells of the first column. The square in the upper left corner belongs to both sets, so the number of unit squares is
$$99+99-1=197.$$
Add two further unit squares at the cells $(2,2)$ and $(99,99)$. The total number of unit squares is then
$$197+2=199.$$
The remaining cells form rectangles of even width or even height and can be tiled completely by dominoes of the second type. No pieces of the third type are needed.
Hence there exists a partition with exactly $199$ unit squares, and no partition can contain fewer.
Therefore the minimum possible number of pieces of the first type is
$$\boxed{199},$$
with equality attained by the construction described above.
Verification of Key Steps
The first delicate step is the row invariant. For a fixed row, the intersection of a domino with the row is either two adjacent cells or no cells. The intersection of an L tromino with the row is likewise either two adjacent cells or no cells. Under the alternating weighting $1,-1,1,-1,\dots$, every pair of adjacent cells has sum $0$. Since the entire row has alternating sum $1$, at least one unit square must occur in that row.
The second delicate step is the column analogue. The same analysis applies after interchanging rows and columns. The odd length $99$ is essential because the alternating sum of a row or column equals $1$ rather than $0$.
The third delicate step is the extremal count. A careless argument could stop at $99$ or $197$. The proof must account simultaneously for all row and column requirements. The construction with exactly $199$ unit squares confirms that the lower bound cannot exceed $199$.
Alternative Approaches
A different proof uses a signed coloring of the whole board. Assign alternating signs in every row. Summing over all rows yields a global invariant whose value is $99$. Since every domino and every L tromino contributes $0$, the contribution comes entirely from unit squares. Repeating the argument in the orthogonal direction and combining the two counts leads to the same lower bound.
The row by row approach is preferable because it identifies the local property forced by the odd side length. Rather than extracting a global numerical invariant and then interpreting it, it immediately shows that every row and every column must contain a unit square, which is the structural fact underlying the extremal value $199$.