This is a follow up to my previous question.
Assume I want to randomly draw two numbers from the numbers 1 to 8, one even number and one odd number. I would create two urns, one with the even, one with the odd numbers, and draw one number from each. Thus, all numbers have the same probability to be drawn. This was the accepted answer to my previous question.
Now assume I have the numbers from 1 to 9. I want to draw one number that is smaller or equal to 5, i.e. {1,2,3,4,5}, and one number that is larger or equal to 5, i.e. {5,6,7,8,9}. How would I draw them so that all numbers have the same probability to be drawn?
My idea would be to create two urns, one with the numbers {1, 1, 2, 2, 3, 3, 4, 4, 5}, the other with the numbers {5, 6, 6, 7, 7, 8, 8, 9, 9}. If I flip a coin to randomly chose one urn, then randomly draw one number, all numbers have the same probability to be drawn. But if I draw a 5 and then switch to the other urn, there is a possibility that I draw a second 5 -- which is not what I want to allow to happen.
How would you do it?
If you know a more meaningful title for this question, please edit it.