SetPartitions

SetPartitions[set]

returns the list of set partitions of set.

SetPartitions[n]

returns the list of set partitions of {1,2,,n}.

Details

See Also

KSetPartitions  RandomSetPartition

Tutorials