Saturday, 28 September 2013

strategy - Where are the Wazirs?


A wazir is a fairy chess piece that moves like a rook, but can go only one square.




                                                              enter image description here



We wish to place a number of wazirs on a 9 $\times$ 9 chessboard so the following conditions are satisfied




  1. Each wazir is being attacked by at least one other wazir.

  2. Each empty square is being attacked by at least one wazir.



What is the minimum number of wazirs we need to place to satisfy the conditions above?




Answer



I have a solution with



25 wazirs:
enter image description here



Step by step:



We can cover all border squares with 8 pairs of wazirs whose attacking squares do not overlap. Note that each wazir covers two border squares, which is the maximum because it's not possible for a piece to be orthogonally adjacent to 3 border squares on a 9x9 board. So there is no way to cover the entire border with fewer wazirs.
enter image description here

Also note that this arrangement covers the maximum amount of non-border squares as well. Every wazir covering two border squares covers exactly one non-border square, unless it is located one step diagonally from a corner (in which it covers 2). Every square one step diagonally from a corner is in use, so the wazirs cover the maximum possible amount of non-border squares.

There are 17 dark squares left, so we need a minimum of 5 wazirs to cover them all.

enter image description here

Then we need four more wazirs to cover the remaining 12 light squares.
enter image description here



No comments:

Post a Comment

Understanding Stagnation point in pitot fluid

What is stagnation point in fluid mechanics. At the open end of the pitot tube the velocity of the fluid becomes zero.But that should result...