Question 721
Suppose that $S$ is a finite set of positive integers. If the greatest integer in $S$ is removed from $S$, then the average value (arithmetic mean) of the integers remaining is $32$. If the least integer in $S$ is also removed, then the average value of the integers remaining is $35$. If the greatest integer is then returned to the set, the average value of the integers rises to $40$. The greatest integer in the original set $S$ is $72$ greater than the least integer in $S$. What is the average value of all the integers in the set $S$?
Xem đáp án và lời giải
Đáp án: $36.8$
Let $n = |S|$, let $T$ be the sum of all elements in $S$, and let $m$ and $M$ be the least and greatest elements of $S$, respectively. The three given averages translate to $$\begin{aligned} T - M &= 32(n - 1), \\ T - M - m &= 35(n - 2), \\ T - m &= 40(n - 1). \end{aligned}$$ Subtracting the second equation from the first gives $m = 32(n - 1) - 35(n - 2) = 38 - 3n$. Subtracting the second equation from the third gives $M = 40(n - 1) - 35(n - 2) = 5n + 30$. Using $M - m = 72$ yields \[ (5n + 30) - (38 - 3n) = 72 \implies 8n - 8 = 72 \implies n = 10. \] Then $M = 5(10) + 30 = 80$ and $T = 32(9) + 80 = 368$, so the average of $S$ is $\dfrac{368}{10} = 36.8$.