A list of positive integers is sorted in non-decreasing order. The minimum value in the list is , the maximum value is , and the median is . If the unique mode of the list is , what is the maximum possible sum of the integers in the list?
- A488
- B503
- C506
- 508Answer
- E518
Answer
508
The maximum sum is achieved by setting the frequency of the unique mode to its maximum limit of , occupying positions through (since the first element is and the median at position is ). This allows any other value to appear at most times. To maximize the sum, we assign the maximum value to positions (positions to ), and the next highest value to the remaining positions in the upper half (positions and ). Summing these values gives .
Step-by-Step Solution
Key Concept
Using central tendency constraints (median, mode) and range limits to optimize a dataset sum.