MathDB
Pawns and rooks on a chessboard

Source: Benelux MO 2019 P2

April 28, 2019
combinatorics

Problem Statement

Pawns and rooks are placed on a 2019×20192019\times 2019 chessboard, with at most one piece on each of the 201922019^2 squares. A rook can see another rook if they are in the same row or column and all squares between them are empty. What is the maximal number pp for which pp pawns and p+2019p+2019 rooks can be placed on the chessboard in such a way that no two rooks can see each other?