Subcontests
(5)2006 BAMO p4 squares of infinite square grid colored grey and white
Suppose that n squares of an infinite square grid are colored grey, and the rest are colored white. At each step, a new grid of squares is obtained based on the previous one, as follows. For each location in the grid, examine that square, the square immediately above, and the square immediately to the right.
If there are two or three grey squares among these three, then in the next grid, color that location grey, otherwise, color it white. Prove that after at most n steps all the squares in the grid will be white.
Below is an example with n=4. The first grid shows the initial configuration, and the second grid shows the configuration after one step.
https://cdn.artofproblemsolving.com/attachments/1/a/87f7e3892cdb45fb3529127234aae2cea08749.png