hello

How can I make this ?

If I have a group of numbers such as 10,15,18,20,28,29,30

first: How can I generate unique numbers between the min and the max value (between 10 and 30) without duplicate any value
second: If the min value is 10, how can I generate the numbers from Zero to that value (10), I meant How can I generate (1,2,3,4,5,6,.......9)



Thanks