WOLFRAM|DEMONSTRATIONS PROJECT

Graphs of Random Permutations

​
number of examples
number of elements
random seed
label nodes
The graph for a permutation always consists of some collection of cycles. See typical graphs that can occur.