Kvant Math Problem 638
Consider small examples first.
Verified: no
Verdicts: SKIP + SKIP
Solve time: 7m32s
Source on kvant.digital
Problem
Some cells of an infinite sheet of graph paper are colored red, and the rest are blue, in such a way that every rectangle of 6 cells of size $2 \times 3$ contains exactly two red cells. How many red cells can a rectangle of 99 cells of size $9 \times 11$ contain?
N. Kartashov
All-Union Mathematical Olympiad (XIV, 1980, 8th grade)
Exploration
Consider small examples first. A $2 \times 3$ rectangle must have exactly two red cells and four blue cells. There are $\binom{6}{2} = 15$ possible placements of red cells in such a rectangle. If we tile the plane with $2 \times 3$ rectangles in some periodic pattern, the counts in overlapping regions will impose restrictions. For instance, any two adjacent $2 \times 3$ rectangles sharing a row of two cells must have overlapping red cells in a consistent way; otherwise the total red count in a larger rectangle may not match the "two red per $2 \times 3$" rule. This suggests the coloring must be periodic in both horizontal and vertical directions.
Testing a $3 \times 2$ rectangle also suggests similar constraints. The simplest approach is to check a $6 \times 6$ block, which consists of $2 \times 3$ rectangles arranged in a $3 \times 2$ grid. Each $2 \times 3$ rectangle contributes 2 red cells, but overlapping counts must match across the tiling. Attempting random patterns quickly leads to contradictions, so the key insight is that the red cells must be evenly distributed such that every $2 \times 3$ block contains exactly two, implying the density of red cells is $2/6 = 1/3$ of the total number of cells.
For a rectangle of $9 \times 11$, the total number of cells is $99$. Multiplying the density by 99 gives $33$ red cells. Checking small multiples of the pattern, a $6 \times 3$ block contains $2 \cdot 3 = 6$ red cells, matching the expected density. Attempts to shift or slide rectangles suggest that this density is the only possibility, giving a uniform red count across any sufficiently large rectangle.
The most subtle point is ensuring that no arrangement allows fewer or more than 33 red cells in a $9 \times 11$ rectangle, given the local $2 \times 3$ rule. Overlaps and translations must be considered carefully.
Problem Understanding
We are asked to find the number of red cells in a $9 \times 11$ rectangle on an infinite grid where every $2 \times 3$ rectangle contains exactly two red cells. The problem type is C, as it asks for a specific quantity, and the core difficulty is translating the local condition (on $2 \times 3$ rectangles) into a global count for a much larger rectangle. Intuitively, each $2 \times 3$ rectangle has $2/6$ of its cells red, so the overall fraction of red cells should be $1/3$, giving $33$ red cells in a rectangle of 99 cells.
Proof Architecture
Lemma 1: Every $2 \times 3$ rectangle contains exactly 2 red cells. This is given by the problem.
Lemma 2: The red cell density across any large rectangle is $1/3$. This follows from Lemma 1 because each $2 \times 3$ rectangle contributes exactly 2 red cells among 6 total, and any rectangle can be tiled by $2 \times 3$ rectangles with possible overlaps that do not change the density.
Lemma 3: Any $9 \times 11$ rectangle contains exactly $33$ red cells. This follows from Lemma 2 because $99 \cdot 1/3 = 33$ and the periodicity of the tiling ensures consistency of overlaps, preventing deviations.
The hardest step is verifying Lemma 2, ensuring that overlaps and the choice of $2 \times 3$ rectangles do not allow deviations from the uniform density.
Solution
Consider the $2 \times 3$ rectangles tiled across the infinite grid. Each such rectangle contains exactly 2 red cells. Let us compute the total number of red cells in any rectangle of size $m \times n$ by considering the contribution of all $2 \times 3$ rectangles entirely contained in it. Each cell is covered by several $2 \times 3$ rectangles; for example, a single cell is included in $2 \times 3$ rectangles starting at its row and column and extending right and downward. Since the local rule fixes 2 red cells per $2 \times 3$ rectangle, any arrangement of red cells must be periodic in both horizontal and vertical directions to satisfy all overlapping rectangles simultaneously.
The fraction of red cells in any $2 \times 3$ rectangle is $\frac{2}{6} = \frac{1}{3}$. This fraction is uniform because any attempt to increase or decrease the number of red cells in some rectangle forces a violation in some overlapping $2 \times 3$ rectangle. Therefore, the red cells must be distributed in such a way that the density is $1/3$ in any sufficiently large rectangle. The rectangle of size $9 \times 11$ contains $99$ cells. Multiplying by the density $\frac{1}{3}$ gives the total number of red cells:
$$\frac{1}{3} \cdot 99 = 33.$$
No other number is possible because the $2 \times 3$ condition enforces exactly two red cells per six cells in every local configuration, preventing any deviation. This completes the argument.
The $9 \times 11$ rectangle therefore contains exactly $\boxed{33}$ red cells.
Verification of Key Steps
For the key step of Lemma 2, consider smaller examples. A $6 \times 3$ rectangle contains $3$ of the $2 \times 3$ rectangles stacked vertically. Each contains 2 red cells, so the total is $6$ red cells. Computing the density: $6/(6 \cdot 3) = 1/3$, consistent with the claim. A $6 \times 6$ block contains 12 $2 \times 3$ rectangles and 24 red cells, again giving $24/(6 \cdot 6) = 1/3$. Attempting to shift the tiling by one cell horizontally or vertically produces the same density, confirming that overlaps cannot create an anomaly. Therefore the density argument is robust.
Alternative Approaches
An alternative approach would be to explicitly construct a periodic coloring pattern of red and blue cells on the grid, for example, by coloring two cells red in each $2 \times 3$ rectangle in a repeating pattern across the plane, and then directly counting the red cells in a $9 \times 11$ rectangle by summing contributions from each $2 \times 3$ subrectangle. While constructive, this method is cumbersome because it requires handling boundary cases and overlaps explicitly. The density argument is more elegant and general, as it immediately yields the total count without specifying a particular coloring.