Combinatorica`
Combinatorica`

NextPartition

NextPartition[p]

gives the integer partition following p in reverse lexicographic order.

更多信息和选项