Combinatorica`
Combinatorica`

RandomSetPartition

RandomSetPartition[set]

returns a random set partition of set.

RandomSetPartition[n]

returns a random set partition of the first n natural numbers.

Details and Options