Maths Olympiad Prep

Library / /36 of 41

, 2013

Combinatorics Difficulty 8.8 Shortlist Prove it Slovenia

Natural numbers mm and nn satisfy n>m1n > m \ge 1. Let SS be the set of all pairs of natural numbers (x,y)(x, y) where 1x,yn1 \le x, y \le n. Determine the least natural number kk such that for each subset PSP \subseteq S with cardinality kk there exist m+1m+1 pairs (x1,y1),(x2,y2),,(xm+1,ym+1)P(x_1, y_1), (x_2, y_2), \dots, (x_{m+1}, y_{m+1}) \in P where the numbers x1,x2,,xm+1x_1, x_2, \dots, x_{m+1} are pairwise distinct and the numbers y1,y2,,ym+1y_1, y_2, \dots, y_{m+1} are pairwise distinct.

Solution

We shall prove that the solution of the problem is k=nm+1k = nm + 1.

Suppose that the problem were solvable for a knmk \le nm. Let AA be a subset of SS that contains all pairs of natural numbers (x,y)(x, y) such that 1xm1 \le x \le m and 1yn1 \le y \le n. Then A=mn|A| = mn. Consider m+1m+1 arbitrary elements of this set. Since the first coordinate of any of them is between 11 and mm, according to Dirichlet's principle there would exist two pairs with the same first coordinate. This would be a contradiction with the conditions of the problem. The same would hold for any subset of AA with kk elements, hence kk cannot be less than or equal to nmnm.

Now consider any set PSP \subseteq S with nm+1nm + 1 elements. Divide SS into nn sets Bi={(x,y);x+yi(modn),1x,yn}B_i = \{(x, y) ; x + y \equiv i \pmod{n}, 1 \le x, y \le n\} for i=1,2,,ni = 1, 2, \dots, n. The sets are pairwise disjoint, each has exactly nn elements, and their union is the entire set SS. Because P=nm+1|P| = nm + 1, according to Dirichlet's principle there must exist a set Bi0B_{i_0}, which contains at least m+1m + 1 elements from PP. Suppose (x1,y1),(x2,y2)Bi0(x_1, y_1), (x_2, y_2) \in B_{i_0} are two different elements. If x1=x2x_1 = x_2, then from x1+y1i0x2+y2(modn)x_1 + y_1 \equiv i_0 \equiv x_2 + y_2 \pmod{n} we derive y1y2(modn)y_1 \equiv y_2 \pmod{n}. Since 1y1,y2n1 \le y_1, y_2 \le n, we have y1=y2y_1 = y_2. This is in contradiction with the assumption that the elements are different. We conclude that the elements of Bi0B_{i_0} have pairwise different first coordinates and pairwise different second coordinates. Hence, if we chose m+1m + 1 elements from PP such that they all are also elements of Bi0B_{i_0}, they do fulfil the conditions of the problem.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.