up previous next
Partitions

partitions of an integer
Syntax

Partitions(N: INT): LIST


Description
These function returns all integer partitions of N, positive integer

Example
  Partitions(3);
[[3], [1, 2], [1, 1, 1]]
-------------------------------


See Also