Combinatorica`
Combinatorica`

RandomPartition

RandomPartition[n]

constructs a random partition of integer n.

Details and Options