I need to randomly generate x numbers from range 1 - 5 in a unique sequence. For example: x=20, within the set, i want to have 5 ones', 10 threes', and 2 twos', 1 fours', 2 fives' in a random sequence. I know it is possible to achieve the about task by using a counter inside the loop. However, this is not the efficient way. Can anyone help me out? Thanks a lot!