Maths Olympiad Prep

Track / Stage 6 / 220 of 400 #1220 of 1964

Problem 1220

National olympiad, first round
Combinatorics Difficulty 6.4 Prove it

4. In a group of n students, some of them are friends. We know that each of them has at least four friends among the others. The teacher wants to divide the students into two groups, each with a maximum of four members, so that each student has at least one friend in their group.

a) Show that in the case of n=7n=7, the students can be divided in the required way.

b) Determine whether the students can be divided in this way in the case of n=8n=8.

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.

Official solution

SOLUTION. a) The only way to divide 7 students into two groups, each with a maximum of four members, is to have one group of three and one group of four. Each student in the group of four will have a friend in their group in any division, because it cannot happen that all their friends are in the group of three (there are at least four friends).

So, it is enough to divide the students so that each in the group of three has a friend in it. Therefore, we put any of the students in it and two of their friends.

b) Take any division of 8 students into two groups of four (groups with a different number of students are not considered). If this division does not meet the teacher's intention, we have a student XX who is badly placed - all his four friends A,B,C,DA, B, C, D are in the other group. We will show that we can swap XX and one of the students A,B,C,DA, B, C, D so that the total number of badly placed students in the newly formed groups decreases compared to the original state.

After any of the four swaps under consideration, XX will no longer be badly placed and all three students who end up in the group with him will be well placed, as they are his friends. The students K,L,MK, L, M, who were in the group with XX before the swap, can only be badly placed after the swap if they were already badly placed before (since XX is not a friend of any of them). Since student KK has four friends and is not a friend of XX, he must have at least one friend YY in the group containing students A,B,C,DA, B, C, D. This student YY is suitable for the intended swap with student XX, as after it, he will also have a friend in his new group - namely student KK.

We have thus shown that by swapping students XX and YY, the number of badly placed students decreases. We get some new division; if there is at least one badly placed student in it, we can repeat the previous procedure and again reduce the number of badly placed students. After at most eight steps, we will get a division where there are no badly placed students.

ANOTHER SOLUTION to part b). Consider all possible divisions of eight students into two groups of four. Divisions where someone does not have any friends in their group will be called bad, the rest will be good.

How many bad divisions are there? If a student XX has at least five friends, at least one of them must be in his group. If a student XX has only four friends and they are all in the other group, we have only one division with this property. Therefore, for a given student XX, there is at most one division that is bad. We can take one of 8 different students as XX, so there are at most 8 bad divisions (some may be counted multiple times). Meanwhile, there are (73)=35\left(\begin{array}{l}7 \\ 3\end{array}\right)=35 divisions in total, so at least 27 of them are good.

## GUIDING AND ADDITIONAL PROBLEMS:

N1. In a certain class, every student has at least one friend. Show that we can divide the students into two groups so that each has at least one friend in the other group. [This problem can be approached in several instructive ways, see the model solution to problem 5 in the 3rd series of the winter part of the correspondence mathematical seminar (KMS), 2005/6 academic year, http://kms.sk/archiv.]

N2. Each of six students in a certain class has at least three friends among the other five. Friendship is mutual. Show that we can divide these students into two (non-empty) groups so that each student has at least one friend in their group. Could we do this even if each student had exactly two friends? [If we divide the students in any way into a pair and a quartet, then each student in the quartet has at least one friend in it, as out of their at least three friends, at most two are in the other group. It is enough to take a pair of friends and put the rest in the other group. If each has exactly two friends, we can also divide the students: take a student AA and his two friends BB and CC and put all of them in the first group. The remaining three students D,E,FD, E, F will form the second group. If a student from the second group, say DD, had both BB and CC as friends, students EE and FF would have at most one friend each. Therefore, DD has at most one of BB and CC as a friend, and since he cannot be friends with AA (who already has two friends), he must have at least one of EE and FF as a friend. The same applies to students EE and FF. We can say even more about the situation with six students, each of whom has exactly two friends. If we represent the students as points and the friendship relationship by connecting the corresponding points, we can get only two different pictures: two triangles, or a hexagon (with the points suitably placed in the plane).]

D1. In a group of nn people (n4n \geqq 4), some know each other. The relationship "know each other" is mutual: if person AA knows person BB, then BB also knows AA and they are called a pair of acquaintances.

a) Prove that if among any four people there are at least four pairs of acquaintances, then any two people who do not know each other have a common acquaintance.

b) Determine for which n4n \geqq 4 there exists a group of people in which there are at least three pairs of acquaintances among any four people and at the same time some two people neither know each other nor have a common acquaintance.

c) Decide whether in a group of six people there can be exactly three pairs of acquaintances and exactly three pairs of strangers in every quartet. [C-57-I-5]

D2. A certain ruler invited 28 knights to celebrate his birthday. Each knight had exactly three enemies among the others.

a) Show that the ruler can seat the knights at two tables so that each knight sits at the same table with at most one enemy.

b) Show that in the case of any such seating, there are at most 16 knights at each table.

(Enmity is a mutual relationship: if AA is an enemy of BB, then BB is also an enemy of AA.) [51CI6][51-\mathrm{C}-\mathrm{I}-6]

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.