Skip to main content
OlympiadHQ

Browse · MathNet

Print

APMO

counting and probability

Problem

Let be a positive integer. people take part in a certain party. For any pair of the participants, either the two are acquainted with each other or they are not. What is the maximum possible number of the pairs for which the two are not acquainted but have a common acquaintance among the participants?
Solution
When 1 participant, say the person , is mutually acquainted with each of the remaining participants, and if there are no other acquaintance relationships among the participants, then for any pair of participants not involving , the two are not mutual acquaintances, but they have a common acquaintance, namely , so any such pair satisfies the requirement. Thus, the number desired in this case is .

Let us show that is the maximum possible number of the pairs satisfying the requirement of the problem. First, let us observe that in the process of trying to find the maximum possible number of such pairs, if we split the participants into two non-empty subsets and which are disjoint, we may assume that there is a pair consisting of one person chosen from and the other chosen from who are mutual acquaintances. This is so, since if there are no such pair for some splitting and , then among the pairs consisting of one person chosen from and the other chosen from , there is no pair for which the two have a common acquaintance among participants, and therefore, if we arbitrarily choose a person and and declare that and are mutual acquaintances, the number of the pairs satisfying the requirement of the problem does not decrease.

Let us now call a set of participants a group if it satisfies the following 2 conditions: - One can connect any person in the set with any other person in the set by tracing a chain of mutually acquainted pairs. More precisely, for any pair of people in the set there exists a sequence of people for which and, for each and are mutual acquaintances. - No person in this set can be connected with a person not belonging to this set by tracing a chain of mutually acquainted pairs.

In view of the discussions made above, we may assume that the set of all the participants to the party forms a group of people. Let us next consider the following lemma.

Lemma. In a group of people, there are at least pairs of mutual acquaintances.

Proof: If you choose a mutually acquainted pair in a group and declare the two in the pair are not mutually acquainted, then either the group stays the same or splits into 2 groups. This means that by changing the status of a mutually acquainted pair in a group to that of a non-acquainted pair, one can increase the number of groups at most by 1. Now if in a group of people you change the status of all of the mutually acquainted pairs to that of non-acquainted pairs, then obviously, the number of groups increases from 1 to . Therefore, there must be at least pairs of mutually acquainted pairs in a group consisting of people.

The lemma implies that there are at most pairs satisfying the condition of the problem. Thus the desired maximum number of pairs satisfying the requirement of the problem is .

---

Alternative solution.

Alternate Solution 1:

The construction of an example for the case for which the number appears, and the argument for the case where there is only 1 group would be the same as in the preceding proof.

Suppose, then, participants are separated into () groups, and the number of people in each group is given by . In such a case, the number of pairs for which paired people are not mutually acquainted but have a common acquaintance is at most , where we set for convenience. Since holds for any pair of positive integers , we have .

From it follows that takes its maximum value when . Therefore, we have , which shows that in the case where the number of groups are 2 or more, the number of the pairs for which paired people are not mutually acquainted but have a common acquaintance is at most , and hence the desired maximum number of the pairs satisfying the requirement is .

---

Alternative solution.

Alternate Solution 2:

Construction of an example would be the same as the preceding proof.

For a participant, say , call another participant, say , a familiar face if and are not mutually acquainted but they have a common acquaintance among the participants, and in this case call the pair a familiar pair.

Suppose there is a participant who is mutually acquainted with participants. Denote by the set of these participants, and by the set of participants different from and not belonging to the set . Suppose there are pairs formed by a person in and a person in who are mutually acquainted.

Then the number of participants who are familiar faces to is at most . The number of pairs formed by two people belonging to the set and are mutually acquainted is at most . The number of familiar pairs formed by two people belonging to the set is at most . Since there are pairs formed by a person in the set and a person in the set who are mutually acquainted (and so the pairs are not familiar pairs), we have at most familiar pairs formed by a person chosen from and a person chosen from .

Putting these together we conclude that there are at most familiar pairs. Since the number we seek is at most , and hence this is the desired solution to the problem.
Final answer
(n^2 - 3n + 2)/2

Techniques

Graph TheoryColoring schemes, extremal argumentsAlgebraic properties of binomial coefficients