Adel4:
I want to produce some random sequence of numbers between a range, for example
100 to 200
Do you mean a sequence of random numbers where the same number can appear more than once? Do you know how long a sequence you want to produce? Or did you want the sequence 100..200 (all 101 numbers from 100 to 200 inclusive) in random order?
Adel4:
After a while, depending on some events, I want to produce some new sequence between the same range (100 to 200), but this time I want to exclude some numbers.for example I don't want
[150,165,170]
Do you know the maximum number of numbers you want to exclude?
.
Adel4:
for the next time, These excluded numbers may or may not be included in the sequence.
I don't know what you mean by "for the next time". Did you want the same sequence of randomly chosen numbers or a new sequence?