Generating random integers (without repeats)

Something like this, where you could define s_eed in the CL:

L=unique( [1...1000].random(40,s_eed) )[1...10]

This would take the list [1…1000] and select 40 values (with replacement), reduce that list to only the unique values, and then select only elements 1-10. So 10 values “without” replacement.

3 Likes