Combinatorica`
Combinatorica`
PartitionQ
PartitionQ[p]
yields True if is an integer partition.
PartitionQ[n,p]
yields True if is a partition of .
Details and Options
- To use PartitionQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].