I have a $12 \times 12$ chess board. I need to find:
- the minimum number of rooks I can place on the chess board so that there always exist 7 rooks no two of which are attacking.
- the minimum number of knights I can place so that there always exist 4 knights no two of which are attacking.
I have no idea what to do here. I do not wish for a complete answer; I just need some hint or resource I can use to understand the problem.
This problem is beyond my present curriculum and hence I can not find any help for the same.
Any help is appreciated.
Problem 1
Hint
The idea is to use the generalized pigeonhole principle; if you place $n$ pigeons into $k$ pigeonholes, then there will always exists a pigeonhole with $\lceil n/k\rceil$ pigeons. You need to partition the squares of the board into several "pigeonholes", such that whenever several rooks are in the same "pigeonhole," then the rooks will pairwise not attack each other. Assuming you found $k$ holes with this property, then you will conclude that whenever you place $6k+1$ rooks on the board, then some pigeonhole will contain $7$ rooks, meaning you have $7$ rooks where no two attack one another.
Since you want the minimum number of rooks, you want $k$ to be as small as possible. How can you partition the squares of the board into the fewest number of sets possible, where every set of squares has the property that no two squares in the set are in the same row or column?
Once you do this, you will then need to prove that your answer is optimal. That is, you know that any $6k+1$ rooks will have the desired property, so you then need to exhibit a placement of $6k$ rooks such that every subset of $7$ rooks contains an attacking pair.
Solution
Problem 2
The same hint applies, but this time, $k$ will be much smaller. Think about finding a large set of squares, such that any two knights on that set will not attack each other. By the same logic as before, the answer will be $3k+1$, assuming you can find an arrangement of $3k$ knights where any four have an attacking pair.
Solution: