Skip to main content
OlympiadHQ

Browse · MathNet

Print

XXIX Rioplatense Mathematical Olympiad

Argentina counting and probability

Problem

Let . You want to completely cover an board without any gaps or overlaps, using only pieces of the following two types:
problem
Type A

problem
Type B Each type A piece must cover exactly 4 squares on the board, and each type B piece must cover exactly 5 squares on the board. Rotating the pieces is allowed. Determine all pairs for which this can be done.

problem
Solution
We will prove that the only boards that can be covered with the given pieces are the following: Those with both sides even. Those with both sides divisible by 3. * Those with at least one side divisible by 6.

If both and are even, then the board can be divided into squares, which can be covered using type A pieces. On the other hand, using one piece of each type, a square can be formed. Therefore, if both and are divisible by 3, since the board can be divided into squares, it can be covered using the given pieces.

Now let's see that for every , a board can be covered using the given pieces (and thus, by stacking multiple of these, any board can be covered, as we claim). We can form a rectangle by vertically stacking three type A pieces. We can also form a rectangle by stacking two squares, which we have already seen how to form. Now, if is even, we can form the rectangle using multiple rectangles; and if is odd, we can first place a rectangle followed by enough rectangles. The figure shows an example for .



We will now prove that there are no other solutions. Let's consider a board of size that can be covered. If both sides are even, we have already seen how to do it. So, without loss of generality, let's assume that is odd. We color the cells of the board alternately by rows: the cells in the first row are black, the cells in the second row are white, the cells in the third row are black, and so on until the -th row, which is black (because is odd). We observe that in the thus colored board, there are more black cells than white cells. Now let's notice that each type A piece always covers 2 white cells and 2 black cells, while a type B piece can cover either 4 white cells and 1 black cell, or vice versa. Thus, in each piece, the difference between the number of white cells covered and the number of black cells covered is divisible by 3. Consequently, if the board can be covered, the total difference between white and black cells must also be divisible by 3. This difference is .

So far, we have shown that if one side is odd, the other side must be divisible by 3. If were odd, the same argument would allow us to prove that is divisible by 3, and we would be in a case that has already been considered. Therefore, we only need to consider the case of even , but then would be divisible by 6, which is again a case we have already analyzed. This proves that there are no other solutions apart from the three mentioned at the beginning.
Final answer
All boards where both sides are even, or both sides are divisible by three, or at least one side is divisible by six.

Techniques

Coloring schemes, extremal argumentsInvariants / monovariants