7 non-negative numbers have a average of 24. What is the largest possible value for the median of the numbers?
I know the sum has to be 168. Anyone know where to go from there?
Help is appreciated
This can include zero.7 non-negative numbers
The median in the MIDDLE value when the values are sorted ascending/descending.What is the largest possible value for the median of the numbers?
There are 7 numbers; the middle or median value will be the 4th number.
Divide the total (7*24 = 168) by 4 to get the four highest values possible.
Spoiler:
.
this is assuming that all the 7 numbers are different
$\displaystyle 7*24=168$
choose the lowest 3 non-negative numbers as first half that is 1,2,3
that gives a total of 6
168-6 = 162
now to give the largest median the four remaining numbers should add up to 162, the way in which the median (4th number) would be the largest would be when all the four remaining numbers are consecutive which ultimately means:
$\displaystyle n+n+1+n+2+n+3=162$
$\displaystyle 4n+6=162$
$\displaystyle 4n=156$
$\displaystyle n=39$
ans is 39