We are placing rooks on a $n \cdot n$ chess table that providing this condition: Every two rooks will threaten an empty square at least. What is the most number of rooks?
Problem
Source: Turkey Junior Math Olympiad 2018 #2
Tags: combinatorics, Combinatorial games
cooljoseph
10.01.2019 22:40
There must be a gap of at least one space between any two rooks in the same row/column. This leads us to place the rooks in a chessboard like pattern starting in the top left. For even $n$ this will simply be $\frac{n^2}{2}$. For odd $n$ the answer will be $\frac{n^2 + 1}{2}$.
electrovector
11.01.2019 18:24
Sorry i didn't mean that. I will edite it.
electrovector
12.01.2019 18:24
Guys can you have a look
bruckner
12.01.2019 20:05
I claim the answer for odd $n$ is $\frac{3n-1}{2}$ and for even $n$ is $\frac{3n-2}{2}$. I will solve only for odd $n$ since the solution for even is very similar.
This can be attained by putting $n$ rooks in the main diagonal and $\frac{n-1}{2}$ in the first half of the other diagonal.
Now, suppose we can put more than $\frac{3n-1}{2}$ rooks in the table. Since no row or column can have more than $2$ rooks, then there are going to be at least $\frac{n+1}{2}$ rows with $2$ rooks. Now we introduce the following lemma:
Lemma: There cannot be more than $\frac{n-1}{2}$ rows with more than $1$ rook.
Proof: Suppose the rooks in those rows are ordened by the distance $d_i$ between two of them. Note these distances all, if ordened in a list, show us that $d_{i-1}-d_i \geq 2$, as a simple diagram can show two rooks would not attack a common square. The result follows.
electrovector
20.07.2019 20:11
I think when $n$ is even the answer should be $\frac{3n}{2}$