CoCoA:Partitions

From ApCoCoAWiki

Partitions

partitions of an integer

Description

These function returns all integer partitions of N, positive integer

Example

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

Syntax

Partitions(N: INT): LIST

Subsets

Tuples

   <type>integer</type>