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.

Details and Options