partitions n -- returns a list of the partitions of the integer n.
partitions(n,k) -- returns a list of the partitions of the integer n
into terms each of which does not exceed k.
i1 : partitions 4 |
i2 : partitions(4,2) |
Ways to use partitions :