The set consists of 9 distinct positive integers. The average of the two smallest integers in is 5. The average of the two largest integers in is 22. What is the greatest possible average of all of the integers of ?
Problem 74
Official solution
Since the average of the two smallest integers in is 5, their sum is . Since the average of the two largest integers in is 22, their sum is . Suppose that the other five integers in the set are . (Note that the integers in are all distinct.) The average of the nine integers in is thus equal to which equals . We would like this average to be as large as possible. To make this average as large as possible, we want to be as large as possible, which means that we want to be as large as possible. What is the maximum possible value of ? Let and be the two largest integers in , with . Since and are the two largest integers, then . Since and and and are integers, then . For to be as large as possible (which will allow us to make as large as possible), we set . In this case, we can have . To make as large as possible, we can take . Here, . If , then will be smaller and so not give the maximum possible value. This means that the maximum possible average of the integers in is .