A rectangle of one colour is unavoidable
Every point with whole-number coordinates in the plane is coloured either red or blue, in any pattern whatsoever, as chaotic as you like.
Prove that there is always a rectangle, with sides parallel to the axes, whose four corner points all have the same colour. How small a region of the grid is guaranteed to contain one?
Show a hint
Look at just three consecutive rows and several consecutive columns. Each column, restricted to those three rows, shows a pattern of three colours. How many different patterns are there, and what does any single pattern contain?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.