Nice, Perhaps I should more time reading and less time at quick hacks. ;-)
Cheers, bob > On Nov 27, 2017, at 8:36 AM, Raul Miller <[email protected]> wrote: > > http://code.jsoftware.com/wiki/Essays/Odometer > > sper=: ] #.^:_1 i.@^~ > > Thanks, > > -- > Raul > > > On Mon, Nov 20, 2017 at 2:49 AM, 'Skip Cave' via Programming > <[email protected]> wrote: >> How to find the permutations of y objects taken x at a time? >> >> 3 sper 4 >> >> 0 1 2 >> >> 0 1 3 >> >> 0 2 1 >> >> 0 2 3 >> >> 0 3 1 >> >> 0 3 2 >> >> 1 0 2 >> >> 1 0 3 >> >> 1 2 0 >> >> 1 2 3 >> >> 1 3 0 >> >> 1 3 2 >> >> 2 0 1 >> >> 2 0 3 >> >> 2 1 0 >> >> 2 1 3 >> >> 2 3 0 >> >> 2 3 1 >> >> 3 0 1 >> >> 3 0 2 >> >> 3 1 0 >> >> 3 1 2 >> >> 3 2 0 >> >> 3 2 1 >> >> >> 2 sper 4 >> >> 0 1 >> >> 0 2 >> >> 0 3 >> >> 1 0 >> >> 1 2 >> >> 1 3 >> >> 2 0 >> >> 2 1 >> >> 2 3 >> >> 3 0 >> >> 3 1 >> >> 3 2 >> >> 1 sper 4 >> 0 >> 1 >> 2 >> 3 >> >> Skip >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
