ONLY SEVEN RECTANGLES NEED A SQUARE OF SIDE 7
You have a rectangular floor to cover and a stock of square tiles in a few sizes. The rules are strict: no cutting, no gaps, no overlaps. With some floors, one size of tile turns out to be unavoidable; whatever layout you try, at least one tile of that size has to go in. Which floors are those? For one particular size of tile, a short preprint now gives the complete list, and the list is much shorter than it once looked.
A game that tiny tiles would spoil
Mathematicians play this game on paper. The rectangle has whole-number sides, say 7 units by 10, and so do the square tiles. To tile the rectangle means to cover it exactly with such squares. People have been tiling rectangles with squares for well over a century, as the preprint recalls.
Played without restriction, the game is pointless: squares of side 1 fill any whole-number rectangle, like graph paper. So the unit square is ruled out, and every tile must have side at least 2. Now some rectangles cannot be tiled at all (think of one that is 1 unit wide), and the question of which sizes are useful becomes a real one.
In 2023, the MIT CompGeom Group (the paper is signed by the group with Zachary Abel, Hugo A. Akitaya, Erik D. Demaine, Adam C. Hesterberg and Jayson Lynch) worked out exactly which whole-number rectangles can be tiled under this rule. Their tilings use four sizes of square and no others: sides 2, 3, 5 and 7. They also showed that when both sides of the rectangle are at least 20, the sizes 2, 3 and 5 are enough. The square of side 7 only comes into play in some narrow rectangles.
How many? At the end of their paper, the MIT authors noticed that their tilings of rectangles of height 7, 13 and 17 seemed to need a square of side 7 for infinitely many lengths, and they asked whether this could be proved. It was a question, not a claim.
Omer Tal, of the Einstein Institute of Mathematics at The Hebrew University of Jerusalem, answers it in a six-page preprint posted on arXiv, not yet peer-reviewed. It cannot be proved, because it is not true. The appeal of the answer is its completeness: a question about infinitely many shapes ends in a list you can count on your fingers, and the proof uses nothing heavier than counting cells and checking remainders after division by 2, 3 or 6.
What “requires” means, and the list
The paper calls a square of side k a k-square, so the tile in question is the 7-square. A rectangle requires a 7-square when it can be tiled, but every one of its tilings contains at least one 7-square. A rectangle that cannot be tiled at all does not count.
The obvious case is the 7 × 7 square itself: one 7-square covers it, and (as the height-7 count below shows) no mix of smaller squares does. Two 7-squares side by side make a 7 × 14 rectangle. The surprise is how soon the examples stop. Up to rotation, meaning that 7 × 14 and 14 × 7 count as the same rectangle, exactly seven tileable rectangles require a 7-square:
7 × 7, 7 × 14, 7 × 17, 9 × 14, 7 × 21, 7 × 27, 9 × 17
A second statement comes with it: every rectangle with both sides at least 10 can be tiled with squares of sides 2, 3 and 5. The MIT threshold of 20 drops to 10. And 10 cannot be lowered to 9, because 9 × 17 is on the list.
Every square but one can be broken up
Why single out 7 among the four sizes? Because of a result published in 2010 by D. Labrousse and J. L. Ramírez Alfonsín, which Tal uses as the starting point: every square of whole-number side at least 2, except the 7 × 7 square, can itself be tiled with squares of sides 2, 3 and 5.
This changes the question. Take any tiling of a rectangle, with tiles of any sizes. Each tile that is not a 7-square (an 11-square, a 4-square, anything) can be broken up into 2-, 3- and 5-squares. Leave the 7-squares where they are. You now have a tiling that uses only the sizes 2, 3, 5 and 7. So two things hold at once: a rectangle that can be tiled can always be tiled with these four sizes, and the only tile that might be irreplaceable is the 7-square.
A rectangle therefore requires a 7-square in exactly one situation: it can be tiled with the sizes 2, 3, 5 and 7, but not with 2, 3 and 5 alone. The whole problem becomes: can we do without the 7?
Strips, and lengths that add up
Tal’s approach is to fix the height of the rectangle and let the length vary, as if unrolling a strip of carpet. For a height h and a set A of allowed tile sizes, the paper writes
L_h(A)
(in the paper the h is a small subscript, as in L₇ below) for the set of all lengths n such that the h × n rectangle can be tiled with squares whose sides belong to A. Read it as “the attainable lengths at height h with the sizes in A”. For example, L₇({2, 3, 5}) is the list of lengths a strip of height 7 can have if it is tiled without any 7-square.
With this notation, the lengths at which a strip of height h requires a 7-square are those that belong to L_h({2, 3, 5, 7}) but not to L_h({2, 3, 5}). Mathematicians write this “set difference” with a backslash:
L_h({2, 3, 5, 7}) ∖ L_h({2, 3, 5})
Everything rests on one simple observation. Put two tiled rectangles of the same height end to end and you get a tiled rectangle of that height whose length is the sum of the two lengths. If lengths 6 and 10 are attainable, so are 12, 16, 18, 20, 22 and so on. An attainable set is closed under addition: adding two of its members never takes you outside it.
That calls for one more piece of notation. The paper writes
⟨6, 10, 13⟩
for the set of all numbers you can make by adding 6s, 10s and 13s, each used as many times as you like, including not at all. It contains 6, 10, 12, 13, 16, 18, 19, 20 and so on, and also 0 (use nothing), which stands for an empty strip and is included by convention.
The coin puzzle hiding in the strip
Sums of a few fixed numbers are the subject of a classic puzzle called the coin problem: with coins of given values, in unlimited supply, which amounts can you pay exactly? The key fact is this. If two of the coin values are coprime, meaning that no whole number larger than 1 divides both, then the unpayable amounts run out: every amount beyond a certain point can be paid. With coins of 3 and 5, for instance, you can check by hand that 7 cannot be paid but 8, 9 and 10 can, and from there adding 3s reaches everything.
According to the paper, this was the idea that settled the MIT question. Replace coins by tiled blocks and amounts by lengths. If a strip of some fixed height has tilings without 7-squares at two coprime lengths, then all sufficiently long strips of that height have tilings without 7-squares. Only finitely many lengths can require a 7.
At height 7, such blocks exist. The paper shows tilings of 7 × 6, 7 × 10 and 7 × 13 rectangles using only 2-, 3- and 5-squares, and 6 and 13 are coprime. (One way to build a 7 × 6 block: a layer of two 3-squares under two layers of 2-squares.) Tal found these by hand and later noticed that they already appear in the MIT paper.
That proves “finitely many”. To get the exact list, one must know exactly which lengths are attainable, and that means proving that some lengths are impossible.
Height 7: one odd square per vertical line
The claim is that, without 7-squares, the attainable lengths at height 7 are precisely the sums of 6s, 10s and 13s:
L₇({2, 3, 5}) = ⟨6, 10, 13⟩
The three blocks above show that every such sum is attainable. For the converse, take any tiling of a 7 × n rectangle by 2-, 3- and 5-squares, and suppose it uses a squares of side 3 and b squares of side 5.
Drop a vertical line through the rectangle, like a skewer through a stack of boxes, avoiding the corners of the tiles. The squares it crosses are piled on top of each other and their sides add up to the height, 7. Since 7 is odd, the pile must contain an odd number of odd squares (3s or 5s). It cannot contain three, because three odd squares are at least 3 + 3 + 3 = 9 tall. So every vertical line crosses exactly one odd square. Seen from above, the odd squares sit side by side along the length without overlapping and without leaving any stretch uncovered. Their widths therefore add up to the length:
n = 3a + 5b
In words: the length of the strip is three times the number of 3-squares plus five times the number of 5-squares. The 2-squares do not appear; they only fill in above and below.
This is not yet enough, since 3a + 5b could equal 8 or 11, which are not sums of 6s, 10s and 13s. The missing ingredient is that b is even: 5-squares come in pairs.
Counting painted rows
To prove it, the paper uses a parity argument, a way of counting the same thing twice and comparing whether the two counts are odd or even. Cut the strip into unit cells, which form seven rows. Number the rows from 0 at the bottom to 6 at the top, and paint rows 0, 2, 3, 5 and 6. Five rows are painted, so there are 5n painted cells.
Now count the painted cells tile by tile.
- A 2-square covers two cells in each row it touches, so it always covers an even number of painted cells.
- A 3-square covers three rows in a row. The painting is chosen so that any three consecutive rows contain exactly two painted ones. A 3-square thus covers 2 × 3 = 6 painted cells: even again.
- A 5-square must touch the bottom or the top of the strip. Otherwise it would leave a gap just 1 unit high above it and another below it, and no allowed tile fits there. At the bottom it covers rows 0 to 4, three of them painted: 15 painted cells. At the top it covers rows 2 to 6, four of them painted: 20 painted cells.
Only the bottom 5-squares contribute an odd number, 15 each. So the total, 5n, is odd exactly when the number of bottom 5-squares is odd. And 5n is odd exactly when n is. Conclusion: the number of 5-squares at the bottom is odd when n is odd and even when n is even. Flip the painting upside down and the same holds for the 5-squares at the top. Adding the two counts, b is always even.
The rest is arithmetic. If n is even, then a is even too (because n = 3a + 5b and 5b is even), and the tiles can be grouped two by two:
n = 6 × (a/2) + 10 × (b/2)
a sum of 6s and 10s. If n is odd, there is an odd number of 5-squares at the bottom and an odd number at the top, hence at least one of each, so b is at least 2; and a is odd, hence at least 1. Set aside one 3 and two 5s, which make 13, and group the rest in pairs:
n = 13 + 6 × (a − 1)/2 + 10 × (b − 2)/2
Either way, n is a sum of 6s, 10s and 13s. Nothing else is attainable.
Allowing 7-squares is then easy. A 7-square fills the whole height, so cutting along its vertical edges separates the strip into 7-squares and stretches tiled without them. The attainable lengths are the sums of 6s, 7s, 10s and 13s, and since 13 = 6 + 7 the 13 is redundant:
L₇({2, 3, 5, 7}) = ⟨6, 7, 10⟩
Six queues
Two infinite lists must now be compared: ⟨6, 10, 13⟩ and ⟨6, 7, 10⟩. The tool is arithmetic modulo 6. “Modulo 6” simply means sorting whole numbers by their remainder when divided by 6, the way days are sorted into Mondays, Tuesdays and so on by counting in sevens. There are six possible remainders, 0 to 5, so six queues, called residue classes. The numbers 3, 9, 15, 21, 27, 33 all leave remainder 3: they stand in the same queue, 6 apart.
Why 6? Because 6 belongs to both lists. If a length is attainable, gluing on a 7 × 6 block gives the next number in the same queue, and the next, forever. So within each queue, the attainable lengths are simply everything from the shortest attainable one onwards. Each list is fully described by six numbers:
| Remainder after dividing by 6 | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| Shortest length without 7-squares, ⟨6, 10, 13⟩ | 0 | 13 | 20 | 33 | 10 | 23 |
| Shortest length with 7-squares allowed, ⟨6, 7, 10⟩ | 0 | 7 | 14 | 21 | 10 | 17 |
(For instance, 33 = 13 + 10 + 10 and 21 = 7 + 7 + 7.)
A length requires a 7-square when it has been reached in the line with 7-squares allowed but not yet in the line without them. Try it on the queue of remainder 3 before reading on: 3, 9, 15, 21, 27, 33, 39… With 7-squares, the queue opens at 21. Without them, it opens at 33. The lengths 3, 9 and 15 cannot be tiled either way. 21 and 27 can be tiled, but only with a 7-square. From 33 on, the 7-square is optional.
The other columns work the same way. Remainder 1: 7 is attainable only with a 7-square, and 13 without. Remainder 2: 14, then 20. Remainder 5: 17, then 23. Remainders 0 and 4 show no difference. In total:
L₇({2, 3, 5, 7}) ∖ L₇({2, 3, 5}) = {7, 14, 17, 21, 27}
This also shows why 27 closes the list. The largest entry in the line without 7-squares is 33; 27 is the number just before it in its queue, and no other queue waits that long.
Height 9: striped weights
Below height 10, 9 is the only other height where a 7-square can fit: it leaves a gap 2 units high, which a 2-square fills, whereas at height 8 the 1-unit gap could not be filled. The claim here is
L₉({2, 3, 5}) = ⟨3, 10⟩ and L₉({2, 3, 5, 7}) = ⟨3, 10, 14⟩
The paper gives the three building blocks: a 9 × 3 block (three 3-squares stacked), a 9 × 10 block, and a 9 × 14 block, the only one of the three that uses 7-squares. Again the work is to show that nothing else is possible.
Start without 7-squares, with b squares of side 5. Two 5-squares cannot sit one above the other, even partly, since that would take a height of 10. So their widths fit side by side within the length: 5b is at most n. Moreover, a vertical line through a 5-square has 4 units of height left, which only two 2-squares can fill. So the space below a 5-square is 0, 2 or 4 units high: numbering the nine rows from 0 to 8, every 5-square starts in an even-numbered row.
Now comes a relative of the painted rows: give each cell a weight, +1 in even-numbered rows and −1 in odd-numbered rows, like alternating stripes. A column has five +1s and four −1s, so it weighs 1, and the whole rectangle weighs n. A 2-square always weighs 0. A 3-square weighs +3 or −3. A 5-square, starting on a +1 row, covers three positive rows and two negative ones and weighs 5. Adding up tile by tile, n equals 5b plus a multiple of 3. Together with 5b ≤ n, this gives
n = 3a + 5b
for some whole number a that is zero or more.
Then turn the stripes by a quarter turn: +1 and −1 alternate by column instead of by row. Each column now weighs +9 or −9, so the total is divisible by 3. Each 2-square weighs 0 and each 3-square ±3. A 5-square weighs +5 or −5. If there were exactly one 5-square, the total would be a multiple of 3 plus or minus 5, which is not a multiple of 3. So b is never 1. If b is even, 5b is a multiple of 10. If b is odd, it is at least 3, and 5b is 15 plus a multiple of 10. In both cases n is a sum of 3s and 10s.
With 7-squares, c of them, the same reasoning goes through. A 7-square leaves 2 units of height, filled by one 2-square, so it too starts in an even-numbered row and weighs 7 under the row stripes. No two squares of side 5 or 7 can overlap seen from above. Hence
n = 3a + 5b + 7c
and the column stripes forbid having exactly one large square: b + c is never 1. Group the large squares in pairs, with one group of three if their number is odd. A pair adds up to 10, 12 or 14; a triple to 15, 17, 19 or 21. All of these are sums of 3s, 10s and 14s, so n is too.
Since 3 belongs to both lists, three queues are enough this time, sorted by the remainder after dividing by 3:
| Remainder after dividing by 3 | 0 | 1 | 2 |
|---|---|---|---|
| Shortest length without 7-squares, ⟨3, 10⟩ | 0 | 10 | 20 |
| Shortest length with 7-squares allowed, ⟨3, 10, 14⟩ | 0 | 10 | 14 |
Only the last column differs. With 7-squares the queue runs 14, 17, 20, 23…; without them it starts at 20. So
L₉({2, 3, 5, 7}) ∖ L₉({2, 3, 5}) = {14, 17}
Five lengths at height 7 and two at height 9: these are the seven rectangles.
Why no other height joins the list
Call the shorter side of the rectangle m. If m is less than 7, a 7-square does not fit. If m is 8, a 7-square would leave a gap 1 unit high above or below it, which no tile of side 2 or more can fill. Heights 7 and 9 are done. What remains is to show that when both sides are at least 10, the sizes 2, 3 and 5 always suffice.
The trick is to peel off strips. Any 6 × k rectangle with k at least 2 can be tiled with 2-squares and 3-squares: write k as a sum of 2s and 3s, and tile each 6 × 2 or 6 × 3 piece directly. So whenever a side is 16 or more, a strip 6 units wide can be removed and dealt with separately, leaving a side that is still at least 10. Tal notes that the MIT paper uses the same reduction in one of its proofs. Repeat until both sides lie between 10 and 15.
That leaves a finite checklist. If one side is 10, 12 or 15, use the pair of tile sizes (2, 5), (2, 3) or (3, 5) respectively: both sizes divide that side, and every whole number from 10 to 15 is a sum of the two sizes, so the rectangle splits into bands each tiled with a single size. Six rectangles remain, with sides among 11, 13 and 14. The 14 × 14 is tiled with 2-squares. The 11 × 11 splits into a 6 × 11 band and a 5 × 11 band, the latter being a 5-square next to a 5 × 6 rectangle. The 13 × 13 and 14 × 13 split into bands of height 6 and 7, or 7 and 7, using the 7 × 13 block seen earlier. The paper draws explicit tilings for the last two, 11 × 13 and 11 × 14.
Who did what
The paper ends with a disclosure about artificial-intelligence tools. Tal reports having noticed that the coin problem could settle the MIT question, having found the height-7 constructions by hand, and having proved that every rectangle with both sides at least 10 can be tiled with 2-, 3- and 5-squares. OpenAI’s GPT-6.2 Astra was then used to determine exactly which rectangles of heights 7 and 9 require a 7-square, which completed the classification; it was also used to search the literature, draw the figures and help with the writing. Tal states having checked all the arguments.
The MIT question started from strips of heights 7, 13 and 17. With both sides at 10 or more, the strips of heights 13 and 17 never call for a 7-square. At height 7, the lengths that do are 7, 14, 17, 21 and 27, and then no more.
