Skip to main content
OlympiadHQ

Browse · MathNet

Print

BxMO/EGMO Team Selection Test

Netherlands counting and probability

Problem

We have an -board with of which each square can be coloured white or black separately. Each move we change the colour of five chosen squares in the possibly rotated version of the following pentomino pattern.
problem
At the beginning, all the squares are white. Determine for which it is possible to make all squares black after a finite number of moves.

problem


problem


problem
Solution
Answer: this can be done exactly if is divisible by or , except for itself.

We first show that for , recolouration is not possible. We consider the boxes , and in the following figure. Then each pentomino box contains and each pentomino contains or . Since and have to be chosen an odd number of times to make them black, in such a case is chosen an even even even number of times. So is then white and we conclude that we can never make all the squares black at the same time.

Now suppose . If is divisible by then we repeatedly use the following procedure: To do this, we divide the board into blocks of . Since we can find a block around each block so we can apply the procedure.

If is divisible by and unequal to itself, then is at least . Using our work above, we have the following procedure for a -block with sufficient space: To apply this repeatedly, we divide the board into blocks of . Since we can find around each block the required block so we can apply the procedure.

Now suppose is not divisible by or . Then we colour the columns cyclically with the colours , , mod . Each pentomino always has squares of the same colour, and square of both other colours. This means that each move switches an odd number of squares of each colour between white/black. So the parity of the number of black squares is always the same for all three colours. In contrast, since is not divisible by , there is a colour that has more squares than any other colour. So the difference between the number of squares of these two colours is , which is odd since is also not divisible by . We conclude that these two colours can never both have only black squares.
Final answer
All n that are even, and all multiples of 3 except n = 3.

Techniques

Invariants / monovariantsColoring schemes, extremal arguments