Maths Olympiad Prep

Track / Stage 6 / 43 of 400 #1043 of 1964

Problem 1043

National Olympiad, first round
Combinatorics Difficulty 6.0 Prove it Taiwan IMO Selection Camp · Taiwan

Let nn be a positive integer greater than 3. There are nn people in a room, and some pairs of people are hostile to each other (hostility is mutual). Suppose we know that this group of people simultaneously satisfies the following two properties:

a. Among any 4 people, there must exist two people who are not hostile to each other.

b. For any positive integer m1m \ge 1, if we can find mm people among them who are pairwise non-hostile to each other, then among the remaining nmn-m people, there must exist 3 people who are pairwise hostile to each other (note: a person is not hostile to himself).

Find the minimum possible value of nn.

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

Answer. The minimum possible value of nn is 77.

To construct an example for n=7n=7, simply label all people from 11 to nn, and let the people numbered ii, i+1i+1, i+2i+2 (mod nn) be mutually hostile. It is easy to check that this group of people satisfies the conditions of the problem. Hence it suffices to prove that n=4,5,6n=4, 5, 6 are all impossible.

(i) n=4n=4: Let these four people be AA through DD. By (a), there must exist two people ABAB who are not hostile to each other; but by (b), considering m=1m=1 and removing DD, then ABCABC must be pairwise hostile to each other, a contradiction.

(ii) n=5n=5: Let these five people be AA through EE, and without loss of generality assume that AA is the person with the most hostilities. Let dd be the number of people AA is hostile to.

a. d=4d=4: Note that after removing AA, (b) guarantees that among BCDEBCDE there exist three people BCDBCD who are mutually hostile, but this means ABCDABCD are mutually hostile, contradicting (a).

b. d=3d=3: Suppose AA is hostile to BCDBCD. By (a), there must exist BCBC who are not hostile to each other. But by (b), when we remove AEAE, BCDBCD must be pairwise hostile to each other, giving a contradiction.

c. d2d \le 2: Suppose AA is not hostile to DEDE. By (b), when we remove AEAE, BCDBCD must be mutually hostile; similarly, when we remove ADAD, BCEBCE must be mutually hostile. But this means BB is hostile to at least 33 people (CDECDE), contradicting the assumption that AA is the person with the most hostilities.

(iii) n=6n=6: Let these six people be AA through FF, and without loss of generality assume that AA is the person with the most hostilities. Let dd be the number of people AA is hostile to.

a. d4d \ge 4: A contradiction is obtained by a method similar to case (a) for n=5n=5.

b. d=3d=3: Suppose AA is hostile to BCDBCD. By (a), there must exist BCBC who are not hostile to each other. But by (b), when we remove BCBC, there must exist three people among ADEFADEF who are mutually hostile, and this must be DEFDEF. But this means DD is hostile to at least 33 people (AEFAEF); based on the assumption that AA is the person with the most hostilities, we know that DD must not be hostile to BCBC. But this means we can remove BCDBCD by (b), obtaining that AEFAEF must be mutually hostile. This contradicts the original assumption that AA is only hostile to BCDBCD.

c. d2d \le 2: A contradiction is obtained by a method similar to case (c) for n=5n=5.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from zh; metadata (topic, difficulty, ordering) added by this project.