Question: Random numbers without repeats

I want to generate a set of numbers of fixed size with maple, when I use the rand procedure within a fixed integer range let us say rand(1..2^4) and ask maple to pick 8 integers, maple will pick 8 different integers in the required range.

I would be grateful for any help.

Alex

Please Wait...