Create a set of 5 positive numbers repeats allowed that have
Create a set of 5 positive numbers (repeats allowed) that have median 12 and mean 8. (Enter your answers as a comma-separated list.)
Solution
5 numbers we select such that median is 12.
Hence third number should be 12, if arranged in ascending order.
-------------------------------------------------------
Let us consider 2 numbers less than 12 say 8 and 9
The first 3 numbers are 8,9,12, x, y
As mean = 8 total = 40
Or 19+x+y =40
x+y =21
We cannot find numbers greater than 12 for x and y both.
--------------------------------------------------
So change our assumption of first two numbers to 1 and 3.
Then 1+3+12+x+y=40
x+y =24
x =12, y =12
Thus the 5 numbers are
1,3,12,12,12
(Note: This is not the unique solution)
