We define variables for the five distinct integers in increasing order.
\(s < a < m < b < t\)
\(\text{where }s=\text{smallest},\ m=\text{median},\ t=\text{largest}\)
We use the median property Median and translate the relevant part of the question "the median, as well as the mean, is 24" into a value for the middle element.
\(m = 24\)
We apply the average formula Average (Arithmetic Mean) to translate "the mean ... is 24" into a sum for all five integers.
\(\frac{s + a + m + b + t}{5} = 24\)
\(s + a + m + b + t = 120\)
We use the range property Range to translate "the range of the set is 16" into a relationship between largest and smallest.
\(t - s = 16\)
We minimize the sum of the two unknowns \(a\) and \(b\) (subject to order constraints) to maximize \(s\), then solve the resulting equations.
\(t = s + 16\)
\(s + a + 24 + b + (s+16) = 120\)
\(2s + a + b + 40 = 120\)
\(2s + a + b = 80\)
\(a + b = 80 - 2s\)
\(\text{Order constraints: }a \ge s+1,\ a \le 23,\ b \ge 25,\ b \le s+15\)
\(\text{Minimal allowed }(a,b) = (s+1,25)\text{ so }a + b = s + 26\)
\(s + 26 = 80 - 2s\)
\(3s = 54\)
\(s = 18\)
\(\text{Then }a = 19,\ b = 25,\ t = 34\)
\(18 + 19 + 24 + 25 + 34 = 120\text{ (works)}\)
\(\text{Therefore the greatest possible smallest integer is }18\)
Answer B
Hope this helps!
ʕ•ᴥ•ʔ