Skip to main content
OlympiadHQ

Browse · MathNet

Print

Mongolian Mathematical Olympiad

Mongolia counting and probability

Problem

Every cell of the board is coloured either by red or blue. Find the number of all colourings in which there are no square in which all cells are red.
Solution
123
456
789
Denote , colourings such that there is at least one red square left up corner of which at one of . Therefore by inclusion-exclusion principle number of such colourings equals to Thus and desired number is .
Final answer
417

Techniques

Inclusion-exclusion