The median of 5 consecutive numbers is 21. The range of the same set of numbers is 20. List out the 5 numbers.

The range of your set of numbers is only 4.

In fact, the range of any 5 consecutive numbers is always just 4.

The original question is in error.

Now, if the five numbers are evenly spaced, then they would differ by 5, instead of just 1.

So the numbers would be 11, 16, 21, 26, 31
which has a range of 20.

My apologies for the error in my previous response. You are correct.

The correct set of numbers that have a median of 21 and a range of 20, assuming they are evenly spaced, would be:

11, 16, 21, 26, 31

Let's denote the consecutive numbers as x, x+1, x+2, x+3, and x+4.

From the given information, we know that the median of these numbers is 21, so the middle number is 21.
Since there are 5 numbers, the middle number will be the 3rd number, which is x+2.
Therefore, x+2 = 21.
Subtracting 2 from both sides of the equation, we get x = 19.
Now, we can list out the 5 numbers:
19, 20, 21, 22, 23