Generate random numbers within a range. Single or multiple, with or without duplicates.
Set your range and count, then generate random numbers.
Formula: Random in [a,b]: a + (b−a+1) × random(). Integer: floor to get whole numbers.