Skip to main content
OlympiadHQ

Browse · MathNet

Print

SELECTION TESTS FOR THE 2019 BMO AND IMO

Romania 2019 counting and probability

Problem

Determine the largest integer satisfying the following condition: for every cell labeling of a array from through such that no two cells bear the same number, the numbers in some square add up to at least .
Solution
The required maximum is , and is achieved, for instance, by the following extremal cell labeling:
25524623
11412313
22721820
14215116
199181017
In this cell labeling, every square with an odd rank top row has sum , and every square with an even rank top row has sum ; the configuration is derived from the considerations below.

Write and , to show that, if is odd, then for every injective cell labeling of an array from through , the labels in some square add up to at least (which is in the case at hand).

Label rows downward and columns rightward, both from through , and let be the sum of all numbers labeling the cells in the cross formed by the -th row and the -th column. Formally, letting denote the label assigned to the cell on the -th row and -th column,



Use to denote congruence modulo and consider the sum



there are ordered pairs such that , and ordered pairs such that .

Finally, use the fact that is odd, , to tile by squares and infer that the numbers in one of these tiles add up to at least



establishing the required lower bound.
Final answer
45

Techniques

Coloring schemes, extremal argumentsCounting two ways