Maths Olympiad Prep

Track / Stage 7 / 30 of 300 #2070 of 2604

Problem 2070

National Olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.0 Prove it Bulgaria competition problems · Bulgaria · 2022

Let n≥2n \ge 2 be a natural number. The sets A1,…,AnA_1, \dots, A_n and B1,…,BnB_1, \dots, B_n of natural numbers satisfy the properties:

* Ai∩Bj≠∅A_i \cap B_j \neq \emptyset for all i,j∈{1,2,…,n}i, j \in \{1, 2, \dots, n\};
* Ai∩Aj=∅A_i \cap A_j = \emptyset and Bi∩Bj=∅B_i \cap B_j = \emptyset for all i≠j∈{1,2,…,n}i \neq j \in \{1, 2, \dots, n\}.

For each of the sets we arrange its elements in descending order and compute the largest difference between two adjacent elements in the result ordering. Find the smallest possible value of the largest among these differences.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

We will prove that the required smallest possible value is nn. Let AiA_i-s are the rows and BjB_j-s are the columns of a square table n×nn \times n in which the value in row ii and column jj is (n−1)i+j(n-1)i + j. So all differences for the AiA_i-s are equal to 11 and all differences for the BjB_j-s are equal to nn.

Let aa be the smallest natural number such that the set {1,2,…,a}\{1, 2, \dots, a\} contains some of the considered 2n2n sets, A1A_1 for example. Without loss of generality, we can assume that a∈B1a \in B_1 or a∉Bja \notin B_j for all jj. Consider the numbers a+1,a+2,…,a+n−2a+1, a+2, \dots, a+n-2 (which are at most n−2n-2) and the sets B2,B3,…,BnB_2, B_3, \dots, B_n (which are n−1n-1). It follows from Dirichlet's principle that at least one of them, for example B2B_2, does not contain any of these numbers. Since a∉B2a \notin B_2 (because either a∈B1a \in B_1 and B1∩B2=∅B_1 \cap B_2 = \emptyset, or a∉Bja \notin B_j for all jj) B2B_2 contains at least one number x≥a+n−1x \ge a+n-1 (otherwise the set {1,2,…,a−1}\{1, 2, \dots, a-1\} contains B2B_2, which is contradiction with the minimality of aa).
Let b1>b2>⋯>bmb_1 > b_2 > \dots > b_m are the elements of B2B_2 and mark the elements of B2∩A1B_2 \cap A_1. Consider x≥a+n−1x \ge a+n-1, such that bjb_j is a marked number and the number of elements (in the ordering of B2B_2) between xx and bjb_j is minimal. For x≥bjx \ge b_j (the case x<bjx < b_j is analogous) we consider the largest bk≤xb_k \le x of B2B_2 (not necessarily marked; k=jk=j is allowed). Obviously bk<a+n−1b_k < a+n-1 (otherwise we have a contradiction because the number of elements between bkb_k and bjb_j is less than between xx and bjb_j) and because a+1,a+2,…,a+n−2a+1, a+2, \dots, a+n-2 are not in B2B_2, and also a∉B2a \notin B_2 from above, we get bk≤a−1b_k \le a-1. Hence xx and bkb_k are adjacent elements in B2B_2 with a difference of at least a+n−1−(a−1)=na+n-1-(a-1)=n, as desired.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.