Hi everyone, I am trying to generate five random numbers between 1 and 39 (there is a 6th outlet on the [select] because I will possibly add a 6th!). I want the numbers generated one by one, rather than all at the same time, which is why I'm using the [counter]. The problem I am having is that the numbers sometimes repeat, with one instance resulting in five number 14s being outputted in one cycle. I am trying to use the [seed] messages to eliminate the repetition of numbers, but it doesn't seem to be working. I think that is because my [random] objects are being triggered one by one, rather than at the same time. Is there a solution for this that will allow the fie numbers to be outputted one by one in a cycle but also for those five numbers to not be repeats? Thank you!

Creating a random counter with no repeat numbers in the same cycle

@Bouchra [random] will not do what you wish...... a random number can be the same twice.
See here...... http://forum.pdpatchrepo.info/topic/10520/randomizingtheorderofalist
You need to start with a list of numbers 139..... and then "shuffle" them.
You might find what you need in that thread........ where @weightless posted [list.randomize.pd]
David. 
Hi there,
I think this is closer to what you're looking for. You can decide the cycle length and then at each it hit it makes sure it generates a random number different from all the others in the active cycle.Hope this helps.

@weightless I am in vanilla 0.47.1, I cannot find the [tabdump] that you employ in your patch. AZ.

You can replace [tabdump] with [array get] in vanilla 0.47.1, I'm using pdextended and it doesn't seem to work, which is why I used tabdump, and besides from that screenshot I assumed the OP is using pdextended as well.

@weightless Thanks, it is working fine now, AZ.