Browse · MathNet
PrintSelection tests for the Balkan Mathematical Olympiad 2013
Saudi Arabia 2013 counting and probability
Problem
Ayman wants to color the cells of a chessboard into black and white so that each or rectangle contains an even number of white cells. Determine the number of ways Ayman can color the chessboard.
Solution
Let us associate a to each cell with a black color and a to each cell with a white color. The condition is equivalent to the sum of numbers in each rectangle and in each rectangle being even. Let be this number at the cell in the row and column, for .
Consider, for a fixed pair , with and , the rectangle:
By applying the condition to the two rectangles which contain cells from the second and the third rows, we get and By applying the condition to all the rectangles, we get and By adding these 5 relations and cancelling all even numbers we get This proves that We prove in a similar way that Therefore, it is enough to know the numbers in the rectangle
to deduce, by periodicity, the numbers in all the other cells.
Applying the condition to the first rectangle, we will get Applying the condition to the second rectangle and to the second rectangle and adding the two relations, we will get We obtain in a similar way Therefore, it is enough to know the 5 numbers to deduce all the numbers in the cells of the chessboard.
Conversely, choose a value in for each number , and deduce the values in all the other cells of the chessboard. It is easy to check that the condition on the two rectangles and the two rectangles in the rectangle above is satisfied. We deduce, by periodicity, that it is satisfied in all the chessboard. Hence there are ways to color the chessboard.
Consider, for a fixed pair , with and , the rectangle:
Applying the condition to the first rectangle, we will get Applying the condition to the second rectangle and to the second rectangle and adding the two relations, we will get We obtain in a similar way Therefore, it is enough to know the 5 numbers to deduce all the numbers in the cells of the chessboard.
Conversely, choose a value in for each number , and deduce the values in all the other cells of the chessboard. It is easy to check that the condition on the two rectangles and the two rectangles in the rectangle above is satisfied. We deduce, by periodicity, that it is satisfied in all the chessboard. Hence there are ways to color the chessboard.
Final answer
32
Techniques
Coloring schemes, extremal argumentsInvariants / monovariants