Maths Olympiad Prep

Track / Stage 5 / 94 of 400 #694 of 1964

Problem 694

AIME late
Combinatorics Difficulty 5.3 Find the answer

Tokarev S.I.

In a class of 30 students, each has the same number of friends among their classmates. What is the maximum possible number of students who study better than the majority of their friends? (For any two students in the class, it can be said who studies better; if AA studies better than BB, and BB studies better than CC, then AA studies better than CC.)

A number or a short expression. Spacing, $ signs and \frac vs / are all fine.

Official solution

Students who perform better than most of their friends are called good. Let nn be the number of good students, and kk be the number of friends each student has. We will prove that n25n \leq 25. For this, we will consider two cases.

1) k8k \geq 8. Then the five worst students in the class are not good.
2) k7k \leq 7. The best student in the class is the best in kk pairs of friends, and any other good student is the best in at least k+1/2{ }^{k+1 / 2} pairs. Therefore, good students are the best in at least k+(n1))k+1/2\left.k+(n-1)\right)^{k+1} / 2 pairs. This number cannot exceed the number of all pairs of friends in the class, which is 15k15 k. Hence, 2k+(n1)(k+1)30k2 k+(n-1)(k+1) \leq 30 k, which means n128k/k+1=2828/k+12828/8=24.5n-1 \leq 28 \cdot k / k+1=28-28 / k+1 \leq 28-28 / 8=24.5. Therefore, in this case, n25n \leq 25.

We will show that nn can equal 25. Number the students from 1 to 30 in the order of decreasing performance and arrange the numbers in a 6×56 \times 5 table as shown in the figure.

cc2345
128910
6789
1112131415
1617181920
2122232425
2627282930

A pair of students is a pair of friends if their numbers are arranged in one of three ways: a) in adjacent rows and in different columns; b) in the same column and one of the numbers is in the bottom row; c) in the top row. In this case, as can be easily verified, all the required conditions are met.

## Answer

25 students.

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