Combinatorica`
Combinatorica`

PartitionQ

PartitionQ[p]

yields True if p is an integer partition.

PartitionQ[n,p]

yields True if p is a partition of n.

更多信息和选项