Skip to main content
OlympiadHQ

Browse · MathNet

Print

Romanian Mathematical Olympiad

Romania counting and probability

Problem

Each of the small squares of a table is coloured in red or blue. Initially all squares are red. A step means changing the colour of all squares on a row or on a column.

a) Prove that there exists no sequence of steps, such that at the end there are exactly blue squares.

b) Describe a sequence of steps, such that at the end exactly squares are blue.
Solution
Without loss of generality, we may consider that the rows or columns to be modified in a sequence of steps are consecutive, and that each column or row is modified only once.

Suppose then that the first rows and the first columns have been modified. One gets a rectangle and a rectangle with all squares coloured blue, the rest of the table being red.

The number of blue squares is then which is an even number, so it can not equal .

For the second part, notice that is equivalent to .

One can take and to give the answer (thus being clear that the steps are not unique).
Final answer
It is impossible to reach exactly 2011 blue squares. To obtain exactly 2010 blue squares, flip the first 44 rows and the first 5 columns.

Techniques

Invariants / monovariantsColoring schemes, extremal arguments