Maths Olympiad Prep

Library / /22 of 26

Combinatorics Difficulty 7.8 National Olympiad, round 2 Prove it Asia Pacific Mathematics Olympiad (APMO)

Given two positive integers mm and nn, find the smallest positive integer kk such that among any kk people, either there are 2m2m of them who form mm pairs of mutually acquainted people or there are 2n2n of them forming nn pairs of mutually unacquainted people.

Solution

Let the smallest positive integer kk satisfying the condition of the problem be denoted r(m,n)r(m, n). We shall show that
r(m,n)=2(m+n)min{m,n}1 r(m, n) = 2(m + n) - \min\{m, n\} - 1
Observe that, by symmetry, r(m,n)=r(n,m)r(m, n) = r(n, m). Therefore it suffices to consider the case where mnm \geq n, and to prove that
r(m,n)=2m+n1.[1 mark ](1) r(m, n) = 2m + n - 1. \quad[1 \text{ mark }] \tag{1}
First we prove that
r(m,n)2m+n1 r(m, n) \geq 2m + n - 1
by an example. Call a group of kk people, every two of whom are mutually acquainted, a kk-clique. Consider a set of 2m+n22m + n - 2 people consisting of a (2m1)(2m - 1)-clique together with an additional n1n - 1 people none of whom know anyone else. (Call such people isolated.) Then there are not 2m2m people forming mm mutually acquainted pairs, and there also are not 2n2n people forming nn mutually unacquainted pairs. Thus r(m,n)(2m1)+(n1)+1=2m+n1r(m, n) \geq (2m - 1) + (n - 1) + 1 = 2m + n - 1 by the definition of r(m,n)r(m, n). [1 mark]

To establish (1), we need to prove that r(m,n)2m+n1r(m, n) \leq 2m + n - 1. To do this, we now show that
r(m,n)r(m1,n1)+3for all mn2.(2) r(m, n) \leq r(m - 1, n - 1) + 3 \quad \text{for all } m \geq n \geq 2. \tag{2}
Let GG be a group of t=r(m1,n1)+3t = r(m - 1, n - 1) + 3 people. Notice that
t2(m1)+(n1)1+3=2m+n12m2n t \geq 2(m - 1) + (n - 1) - 1 + 3 = 2m + n - 1 \geq 2m \geq 2n
If GG is a tt-clique, then GG contains 2m2m people forming mm mutually acquainted pairs, and if GG has only isolated people, then GG contains 2n2n people forming nn mutually unacquainted pairs. Otherwise, there are three people in GG, say a,ba, b and cc, such that a,ba, b are acquainted but a,ca, c are not. Now consider the group AA obtained by removing a,ba, b and cc from GG. AA has t3=r(m1,n1)t - 3 = r(m - 1, n - 1) people, so by the definition of r(m1,n1)r(m - 1, n - 1), AA either contains 2(m1)2(m - 1) people forming m1m - 1 mutually acquainted pairs, or else contains 2(n1)2(n - 1) people forming n1n - 1 mutually unacquainted pairs. In the former case, we add the acquainted pair a,ba, b to AA to form mm mutually acquainted pairs in GG. In the latter case, we add the unacquainted pair a,ca, c to AA to form nn mutually unacquainted pairs in GG. This proves (2). [3 marks]

Trivially, r(s,1)=2sr(s, 1) = 2s for all ss [1 mark], so r(m,n)2m+n1r(m, n) \leq 2m + n - 1 holds whenever n=1n = 1. Proceeding by induction on nn, by (2) we obtain
r(m,n)r(m1,n1)+32(m1)+(n1)1+3=2m+n1, r(m, n) \leq r(m - 1, n - 1) + 3 \leq 2(m - 1) + (n - 1) - 1 + 3 = 2m + n - 1,
which completes the proof. [1 mark]

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.