Generate a random sequence of number

Maybe this post discussed previously should help you solve your case:

1 Like