1989 AIME Problem 11
Problem 11 of 15HarderProbability & StatisticsProblem-Solving Techniques
A sample of integers is given, each between and inclusive, with repetitions allowed. The sample has a unique mode (most frequent value). Let be the difference between the mode and the arithmetic mean of the sample. What is the largest possible value of (For real is the greatest integer less than or equal to )
Your answer
Integer from 0 to 999
Show solution
Solution
By reflecting every value to it suffices to maximize the mean minus the mode. For a fixed modal frequency the extremal sample has copies of then fills the largest available integers with at most copies each.
Put where The nonmodal entries are copies of each of followed by copies of For and this formula gives floors and respectively. If there are at most nonmodal terms, so even the weaker bound suffices. Thus the maximum occurs at
The extremal sample contains four ’s and three copies of every integer from through Put Since Therefore the largest possible floor is
Tagged: mean · mode · optimization