In how many ways can we place two opposite kings on an empty
chessboard in accordance with the rules of chess?
I have drawn an diagram presenting two scenarios – when the first king takes away 4 squares (label A) and some scenarios when it takes 6 squares (label B). However, the squares taken away started to overlap. How would you solve this problem?
Best Answer
You are on the right track.
In total: $$4\cdot 60+24\cdot 58+36\cdot 55. $$
Alternatively: There are $64\cdot 63$ ways to place the kings without respecting the rules (except that they are on different squares). Subtract invalid positions: There are $7\cdot 8$ positions with the black king directly to the east of the white king; the same holds for west, north, and south. And there are $7\cdot 7$ positins with the black king south-east of the white king; the same for south-west, north-west, north-est.
Hence: $${64\cdot 63}-4\cdot 56-4\cdot 49. $$