Skip to main content
OlympiadHQ

Browse · MathNet

Print

Mongolian Mathematical Olympiad

Mongolia counting and probability

Problem

Consider a class of students. Within any group of six students, there are always two students who are not friends. Furthermore, if we select two of these non-friends, there will always be a student among the remaining four who is friends with both of the chosen students. How many students are there in the class altogether? (Nyamdavaa Amar)
Solution
Answer: 25. Let's denote the number of students in the class as . To begin, we show that it is possible for to equal 25. The class is divided into five groups, with each group consisting of five students who are not friends with each other. Furthermore, any two different groups of two children are friends. If we select a group of six students, there will always be at least two children from the same group who are not friends. As a result, among these children, there will be at least one child who is not part of their respective groups but is friends with them.

Next, we prove that is less than or equal to 25. Let's assume, by contradiction, that . We select a student, denoted as , who has at least friends. If does not have at least five non-friends, it would contradict our assumption. We then choose another student, denoted as , who is a friend of . By following this pattern, we find that students have at least common friends. This directly contradicts the given condition that there are no pairs of non-friend students among any group of six students.
Final answer
25

Techniques

Turán's theoremPigeonhole principleColoring schemes, extremal arguments