Daily

Random

Practice set

Baltic Way 2024 · Problem 7

Combinatorics

A 45×4545\times45 grid has had the central unit square removed. For which positive integers nn is it possible to cut the remaining area into 1×n1\times n and n×1n\times1 rectangles?

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Games and strategies

Solutions

Solution

Answer: 1, 2, 11, 22, 23. Solution: Clearly, any nn that works must be a divisor of the number 452−1=202445^{2}-1=2024 of unit squares. Furthermore, it must not be greater than 45 , or else we cannot fit any 1×n1 \times n rectangles in the grid. This leaves the options n=1,n=2,n=4,n=8,n=11,n=22,n=23n=1, n=2, n=4, n=8, n=11, n=22, n=23 and n=44n=44. Note that any divisor dd of a length nn that works also works, since we can just divide each of the 1×n1 \times n and n×1n \times 1 pieces into 1×d1 \times d and d×1d \times 1 pieces.

For n=22n=22, we can cover the grid as in Fig. 4. By the above, this shows that n=1,n=2n=1, n=2 and n=11n=11 all work.

For n=23n=23, we can cover the grid as in Fig. 5 . Official solution diagram for Baltic Way 2024 Problem 7 (Figure 4).

Figure 4 Official solution diagram for Baltic Way 2024 Problem 7 (Figure 5).

Figure 5

The remaining possibilities are n=4,n=8n=4, n=8 and n=44n=44. All of these are divisible by 4 , and hence if any of them work n=4n=4 would also have to work. However, n=4n=4 does not work. Indeed, color gray all rows with row numbers congruent to 1 or 2 modulo 4 (Fig. 6). Then any 1×41 \times 4 or 4×14 \times 1 piece will cover an even number of gray squares. But there is an odd number of gray squares in total, since the number of gray rows is odd, as well as the length of any row, and the center square is white as it is in row 23 . So it is impossible to cover all of them.

Consequently, n=1,2,11,22,23n=1,2,11,22,23 are the only values that work. Official solution diagram for Baltic Way 2024 Problem 7 (Figure 6).

Figure 6

Contest context

Results from Baltic Way 2024

11 teams

Mean score
4.3 / 5
Scores of 4 or 5
10 / 11
Estonia
4 / 5

Score distribution

00
10
20
31
46
54
All team scores
TeamScore
Poland5 / 5
Estonia4 / 5
Germany5 / 5
Ukraine5 / 5
Latvia4 / 5
Norway4 / 5
Lithuania4 / 5
Sweden5 / 5
Denmark4 / 5
Finland4 / 5
Iceland3 / 5