This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Partitions

Partitions[n]
constructs all partitions of integer in reverse lexicographic order.

constructs all partitions of the integer with maximum part at most , in reverse lexicographic order.