MathDB
Squares with same distance from rooks

Source: 2022 3rd OMpD L2 P1 - Brazil - Olimpíada Matemáticos por Diversão

July 8, 2023
combinatoricsChess rookChessboard

Problem Statement

Consider a chessboard 6×66 \times 6, made up of 3636 single squares. We want to place 66 chess rooks on this board, one rook on each square, so that there are no two rooks on the same row, nor two rooks on the same column. Note that, once the rooks have been placed in this way, we have that, for every square where a rook has not been placed, there is a rook in the same row as it and a rook in the same column as it. We will say that such rooks are in line with this square.
For each of those 3030 houses without rooks, color it green if the two rooks aligned with that same house are the same distance from it, and color it yellow otherwise. For example, when we place the 66 rooks (TT) as below, we have:
(a) Is it possible to place the rooks so that there are 3030 green squares? (b) Is it possible to place the rooks so that there are 3030 yellow squares? (c) Is it possible to place the rooks so that there are 1515 green and 1515 yellow squares?