Coloring square
Source: Moscow Olympiad 2018, Grade 10, P2
July 13, 2018
combinatorics
Problem Statement
In there square cells colored in white or black. It is known, that exists square with only white cells and square with only black cells. For what minimal always exists square such that the number of black and white cells differs by no more than ?