IntegerPartitions
returns all partitions of the integer
n
.
lists the possible ways to partition
n
into smaller integers, using up tok
elements.
lists the possible ways to partition
n
with the numbers in{listOfIntegers}
, using betweenlower
andupper
number of elements.
See
Examples
The “McNugget partitions” OEIS - Number of partitions of n into parts 6, 9 or 20.
Related terms
FrobeniusNumber, FrobeniusSolve
Implementation status
- ✅ - full supported