Coloring in a Grid
Source: 2021 China TST, Test 1, Day 1 P2
March 17, 2021
combinatorics
Problem Statement
Given positive integers and , In a grid, a -group is a set of unit squares lying in different rows and different columns.
Determine the maximal possible , such that one can choose unit squares in the grid and color them, with the following condition holds: in any -group from the colored unit squares, there are two squares with the same color, and there are also two squares with different colors.