Skip to main content
OlympiadHQ

Browse · MathNet

Print

2025 International Mathematical Olympiad China National Team Selection Test

China 2025 counting and probability

Problem

For a finite non-empty set of real numbers, let denote its maximum element, and define: where is the median of finite non-empty set : if (), then . Find the smallest real number such that for any set of 2025 distinct positive real numbers,
Solution
Without loss of generality, let the elements of in increasing order be . We first compute . For each , we count how many odd-sized subsets have as their median. A subset of odd size has as its median if and only if If this common value is , the number of such subsets is . Thus, the total number of such is where the last equality follows from Vandermonde's identity. Therefore, Next, we compute . For each , we count how many even-sized subsets have as one of their two middle elements. The number of such subsets is Thus,

---

Since multiplying all elements of by a positive constant does not change the problem, we may assume . Let for (with ). Then can be expressed as a linear form in , where the are positive and sum to 1. The minimal is therefore equal to the maximum coefficient of the . The coefficient of in is . Thus, the coefficient of is We now find the maximum of . For , , so the maximum must occur for . Let . Then For , increases with . Since , we have when and when . Thus, the maximum of is achieved at . Therefore, the minimal is
Final answer
((2024 choose 990) - (2024 choose 989) + 1)/2

Techniques

Counting two waysAlgebraic properties of binomial coefficientsCombinatorial optimization