Fill a checkerboard
This was a homework problem for CSE 548. It’s also a very common puzzle.
Given a checkerboard, one can put a few checkers on it. A rule transform a checkerboard to the next. The rule states one can put a new checker if and only if at least two of it’s adjacent positions (up, down, left, right) has a checker. Apply the rule until no more checker can be added. Show that if originally the checkerboard has only checkers, then when the process terminates, there exist cells not filled by a checker.
Consider any pieces that are already placed on the board. Consider the following process:
- Pick any piece that was never considered, so we have a filled rectangle(square) of .
- Find another piece that can form a larger filled rectangle from the previous rectangle.(so Manhattan distance of at most from the rectangle). This means one only regard the checkers in the rectangle and the new piece, and do the transformation until nothing more can be done. It must be form a new rectangle. If the previous rectangle is a rectangle, the new rectangle is among one of the following sizes: (the new piece is inside the rectangle), or . Note if the new rectangle is a rectangle, . Let the new rectangle be the one we are considering.
- If there is no other piece fit the description in step 2. Go to step 1.
The process will in the end form rectangles, such that the sum of the perimeter is at most , because each time step is run, we increase the perimeter of one of the rectangle by at most 4, each time step is run, we create a rectangle of perimeter 4. We can run those step at most times because there are only checkers.
If any two of the rectangles can form a larger one, then the perimeter of the new rectangle is at most the sum of the two smaller one. To show this, one can consider two cases: If they overlap, then it’s clearly true. If they do not overlap, there are only 2 distinct positions. Either their diagonal touch, or their diagonals doesn’t touch. Try both and you will see this is true. (It’s hard to draw things and post on a blog).
This shows the largest filled rectangle can be produced from checkers have perimeter , but to fill the board, one need as a perimeter. Therefore no configuration of checkers can result a filled board.