Hi

The question is that i have numbers that should not be used in random sampling, and some intervals, from where the number should be choosen.
Let's say, counter is from 5 to 60. Need to pick at random only one number from one of this intervals 5-20, 35-45, 55-60. How is it possible?