Rectangle tiling problems ask how rectangular tiles partition a region. A related counting problem asks how many subrectangles an grid contains. The number
can be computed by counting the number of ways in which
the upper right-hand corner can be selected for a given lower left-hand corner. For
a lower left-hand corner with coordinates
, there are
possible upper right-hand corners, so
|
(1)
| |||
|
(2)
|
Equivalently,
is the number of ways of picking two lines out of sets of
and
lines, giving
|
(3)
| |||
|
(4)
|
as before. Particular tilings are shown above for and
rectangles.
In Problem 6 of the 2025 International Mathematical Olympiad, nonoverlapping rectangles with sides on grid lines cover an board except for exactly one unit square
in each row and column, with
(International Mathematical Olympiad 2025). For
, the minimum number of tiles is
, where
is the ceiling function
(Chen 2026). For
, 3, ..., the minima begin 2,
4, 5, 7, 8, 10, 11, ... (OEIS A183869), with
OEIS index
.
For the lower bound, read the column indices of the holes in row order as a permutation. If its longest
increasing and decreasing subsequences have lengths
and
, then
by the Erdős-Szekeres
theorem. The two subsequences guide a marking of cells beside the holes. Counting
marks with at most one per tile, and accounting for the boundary, gives at least
tiles. Since
, this yields the lower
bound
(Chen 2026, 3Blue1Brown 2026).
For
with
, one construction begins on the infinite grid.
Set
and, for every pair of integers
with
, place a
tile in rows
through
and columns
through
. The residues
of
, for row
and column
, in any tile run once through
1, 2, ...,
. Each nonzero residue determines a unique offset
within a tile, so the tiles cover exactly the cells with
, without overlaps. Restrict to rows
and columns 1 through
. Since
is relatively prime to
, each row and column then has exactly one hole. There
are
full tiles and
clipped tiles along each side, for a total of
. With
, this gives 2112 tiles and attains the lower bound
(Chen 2026, 3Blue1Brown 2026).