How many different ways can you place four white kings and four black kings on a 5x5 grid such that every king attacks exactly two kings of it's own color?
Note : A king is a chess piece that can move to (or attack) any adjacent square, including being diagonally adjacent. All kings of the same color are indistinguishable.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
There is only one way to arrange four kings to suit the criteria. Like this:
And on a 5x5 grid, there are nine different ways you can put the white kings in this arrangement.
For each one, except for them clustered around the middle, there are five different ways to place the black kings in the same arrangement.
For the one where you cluster the white kings around the middle there are four ways to place the black kings.
Therefore the total number of ways is:
5 ⋅ 8 + 4 = 4 4