2014 AMC 10B Problem 18
A list of positive integers has a mean of , a median of , and a unique mode of . What is the largest possible value of an integer in the list?
Show solution without answering
Key insight
To make the biggest number large, make the other ten as small as possible. Using only three 8s lets two 1s into the low spots.
Solution
1. Total. Eleven numbers with mean add to .
2. The goal. The largest number is minus the other ten. So make the other ten add to as little as possible.
3. The median. In order from smallest to largest, the th number is . So five numbers sit at or below and five sit at or above .
4. The mode. must appear more often than any other value. Every is below the median, so appears at most times. Say it appears times; then every other value appears at most times.
5. Why not use lots of 8s? Two things pull in opposite directions:
- more s let us repeat cheap values like and above the median;
- fewer s leave low spots free for very small numbers like .
So try each and find the smallest possible total of the ten numbers.
| copies of 8 | cheapest ten numbers | their sum | largest number |
|---|---|---|---|
How each row is built: fill the five low spots with the s and the smallest numbers allowed (each non- value used at most times); then the median ; then the four upper spots with the smallest numbers at least , again each value used at most times in total.
(With only one , no value could repeat, but then would not be the unique mode, so .)
6. The smallest total is , with three s. The list adds to , has median , and is the only value that appears three times.
The answer is .
Why this works
With a fixed mean, the total is fixed, so "make one number as big as possible" means "make the rest as small as possible." The mode rule works both ways: more copies of the mode let other values repeat, but they also take up cheap low spots. With only a few choices for how many s to use, trying every case is quick and certain.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The total is . Sort the list ; the median gives . To make as large as possible, make as small as possible.
Say appears times. All the 8s sit below the median, so , and every other value appears at most times. The value already appears once (as ), and each entry above the median is at least .
- : ; then at most four times, so , . Sum of ten: , so .
- : bottom ; , . Sum , so .
- : bottom ; , , . Sum , so .
- : bottom ; . Sum , so .
The best is : the list has sum , median , and unique mode .
The answer is .
Review in the AoPS books
- Prealgebra, Chapter 13: Data and Statistics
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
- Prealgebra, Chapter 14: Counting (§14.3)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.