Browse · MathNet
PrintThe South African Mathematical Olympiad Third Round
South Africa counting and probability
Problem
Let be an integer. An -square is divided into unit squares. Of these smaller squares, are coloured green and are coloured blue. All remaining squares are coloured white. Are there more such colourings for which there are no two green squares in a row, and no two blue squares in a column, or colourings for which there are neither two green squares in a row nor two blue squares in a column?
Solution
Suppose that squares have been coloured green, no two of them in the same row. This leaves empty squares in each row, which means that there are ways to colour of the remaining squares blue such that there are no two blue squares in the same row.
On the other hand, let be the number of squares in column that have not been coloured green. Clearly, . The number of ways to colour of the remaining squares blue in such a way that there are no two blue squares in the same column is by the inequality between the arithmetic and geometric mean. For some configurations (e.g., all green squares in one column), this holds with strict inequality.
Hence we can conclude that there are more possible colourings for which there are no two green squares and no two blue squares in the same row than there are colourings for which there are no two green squares in the same row and no two blue squares in the same column.
On the other hand, let be the number of squares in column that have not been coloured green. Clearly, . The number of ways to colour of the remaining squares blue in such a way that there are no two blue squares in the same column is by the inequality between the arithmetic and geometric mean. For some configurations (e.g., all green squares in one column), this holds with strict inequality.
Hence we can conclude that there are more possible colourings for which there are no two green squares and no two blue squares in the same row than there are colourings for which there are no two green squares in the same row and no two blue squares in the same column.
Final answer
There are more colorings with no two green squares in a row and no two blue squares in a row than with no two green squares in a row and no two blue squares in a column.
Techniques
Coloring schemes, extremal argumentsQM-AM-GM-HM / Power Mean