Let be a positive integer. Show the following assertion is valid for sufficiently large integer :
From a grid of squares extending to in both - and -directions, choose unit (i.e., ) squares and color them black. Let be the number of square blocks which contain exactly black unit squares. Then the maximum possible value can take is .
Here, by the statement "An assertion is valid for sufficiently large ", we mean that there exists a positive integer for which the assertion is valid for all .
, 2015
Solution
For a pair of integers and a positive integer we write to mean that is divisible by .
Let us call an square box of the given grid a region. When , if we color black all of square boxes stacked consecutively on a vertical strip, the rectangular patch of the grid consisting of squares formed by the black vertically stacked boxes and their horizontal translates ( to the left and to the right) has the property that any region contained in the interior of the patch satisfies the requirement of the problem. So, we see that is satisfied.
Next, we show that for all sufficiently large , we get . For a region , having black squares, define
and call it a loss for . There are pairings of a black square and a region containing it. Let , where the sum is taken over all regions containing black boxes. For regions that satisfy the requirement of the problem , while other regions appearing as a summand for the definition of above, contain more black squares than , we have . So, it is sufficient to show that there exists an such that if , then .
So, let . We will show that if , then holds. In the sequel, let us call contiguous rows of squares in the grid a horizontal line and contiguous columns of squares in the grid a vertical line. Then we see that either or more horizontal lines or or more vertical lines will contain at least one black square. Therefore, if we assume that holds, then at least one of the horizontal lines in the former case, or at least one vertical in the latter case must have the property that must hold for any region contained in it. (Note that by definition if the region does not contain any black square.) By symmetry, we may and do assume that such a horizontal line exists. Take one such horizontal line and call the lowest row the 0-th row and the row steps above the 0-th row the -th row, where is a positive integer. Let be a black box in this horizontal line lying on the left-most position. Among the regions contained in this horizontal line, those containing in the rightmost column must contain black squares, we see that every square in the column where is located must be black-colored. Furthermore, among regions contained in this horizontal line and containing in their left-most column, all the columns lying to the right of the column containing do not contain any black squares, since the column containing has a black square. (Since is the black square having the left-most position in the horizontal line, all of the columns lying to the left of the column containing contain no black squares either.)
Let us next show that for any vertical line containing , the sum of the for all the regions contained inside of the vertical line is at least . Fix one such vertical line, and let be a region contained in the vertical line and its lowermost row is the -th row. Let and denote by the number of black squares contained in . Then we have . Suppose -th row () is the uppermost row containing a black square, and is the number of black squares lying on and above the 0-th row. If we denote by for the remainder obtained when is divided by , then we have
which shows that is a permutation of . Therefore, we have
Similarly, if we add the values of for , we get the sum to be as well. Therefore, the sum taken over all regions lying inside of the vertical is greater than or equal to .
Since there are vertical lines containing we conclude that and therefore, must hold, and this completes the proof.