next | previous | forward | backward | up | top | index | toc | home

partitions(ZZ) -- list the partitions of an integer

Synopsis

Description

Each partition is a basic list of type Partition.

i1 : partitions 4

o1 = {Partition{4}, Partition{3, 1}, Partition{2, 2}, Partition{2, 1, 1},
     ------------------------------------------------------------------------
     Partition{1, 1, 1, 1}}

o1 : List

See also