Question:
A beetle sits on each square of a $9 \times 9$ board. At a signal each beetle crawls diagonally onto a neighboring square. Then it may happen that several beetles will sit on the same square and none on others. Find the minimal possible number of free squares.
A free square is a square not occupied by any beetle.
What I did:
Colour each row black and white alternatively. Then 45 black and 36 white squares. Each beetle changes its colour, so the answer is at least 9.
The given answer is indeed 9, however, I am not able to construct such a case. Please help.
I do not know the source as it was in a PPT given by a teacher. However, I found this same question online, without an answer.
SUMMARY :
When we have $(2n) \times (2n)$ Board , all Beetles can make "Pairs" & exchange places. Hence no Square may be free.
When we have $(2n+1) \times (2n+1)$ Board , minimum $(2n+1)$ Squares may be free.
Proof 1:
Consider the $3 \times 3$ Board.
The Purple Beetles can easily make "Pairs" Diagonally. Alternately , the Purple Beetles can move around cyclically.
All the Blue Beetles in the Corners can move to Center , while the Center Blue Beetle can move to top left corner , hence $3$ Squares (right-most & bottom-most) will be free.
Consider $5 \times 5$ Board.
The Blue Beetle in the top left corner can move down & that Blue Beetle can move to the top left corner.
Similarly , every Blue Beetle (except the last Column) in top row can move downwards & the Blue Beetle can move upwards.
Similarly the third row (except the last Column) & fourth row can exchange.
That leaves the right-most & the bottom-most Blue Beetles (Green Circles) , who must move to occupied Squares , leaving $5$ Squares free.
Same way , $7 \times 7$ Board will leave $7$ Squares free.
Like-wise , $9 \times 9$ Board will leave $9$ Squares free : the right-most & the bottom-most.
Hence , $(2n+1) \times (2n+1)$ Board will leave $(2n+1)$ Squares free : the right-most & the bottom-most.
Proof 2:
Since the Purple Beetles can always make "Pairs" & exchange places or move in cycles , we have to consider only the Blue Beetles.
The $(2n+1) \times (2n+1)$ Board will have a $(2n) \times (2n)$ Board when we leave out the rightmost Column & the bottom-most row.
That $(2n) \times (2n)$ Board can always ensure no free Squares.
Hence the rightmost Column & the bottom-most row will have to move away to leave $2n+1$ free Squares.