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