Maths Olympiad Prep

Library / /6 of 12

, 2019

Combinatorics Difficulty 8.1 Shortlist Prove it Romania

Determine the largest integer NN satisfying the following condition: for every cell labeling of a 5×55 \times 5 array from 11 through 2525 such that no two cells bear the same number, the numbers in some 2×22 \times 2 square add up to at least NN.

Solution

The required maximum is N=45N = 45, and is achieved, for instance, by the following extremal cell labeling:

25524623
11412313
22721820
14215116
199181017

In this cell labeling, every 2×22 \times 2 square with an odd rank top row has sum 4545, and every 2×22 \times 2 square with an even rank top row has sum 4444; the configuration is derived from the considerations below.

Write n=5n = 5 and m=n/2=3m = \lfloor n/2 \rfloor = 3, to show that, if nn is odd, then for every injective cell labeling of an n×nn \times n array from 11 through n2n^2, the labels in some 2×22 \times 2 square add up to at least 8m211m+68m^2 - 11m + 6 (which is 4545 in the case at hand).

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

sij=k=1n(aik+akj)aij. s_{ij} = \sum_{k=1}^{n} (a_{ik} + a_{kj}) - a_{ij}.

Use \equiv to denote congruence modulo 22 and consider the sum

S=i,j=1ms2i1,2j1=ij1sij=(2m1)ij1aij+mi+j=1aij; S = \sum_{i,j=1}^{m} s_{2i-1,2j-1} = \sum_{i \equiv j \equiv 1} s_{ij} = (2m-1) \sum_{i \equiv j \equiv 1} a_{ij} + m \sum_{i+j=1} a_{ij};

there are m2m^2 ordered pairs (i,j)(i, j) such that ij1i \equiv j \equiv 1, and 2m(nm)2m(n-m) ordered pairs (i,j)(i, j) such that i+j1i + j \equiv 1.

Finally, use the fact that nn is odd, n=2m1n = 2m-1, to tile CC by (m1)2(m-1)^2 squares 2×22 \times 2 and infer that the numbers in one of these tiles add up to at least

n2(n2+1)2(m1)2S0m2(m1)2=8m211m+5+112=8m211m+6, \left\lfloor \frac{n^2(n^2+1)}{2(m-1)^2} - \frac{S_0}{m^2(m-1)^2} \right\rfloor = \left\lceil 8m^2 - 11m + 5 + \frac{11}{2} \right\rceil = 8m^2 - 11m + 6,

establishing the required lower bound.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.