up previous next

Partitions

Syntax

Partitions(N: INT): LIST
    

Summary

partitions of an integer

Description

These function returns all integer partitions of N, positive integer

example

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