Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Combinatorica Package >

Partitions

Partitions[n]
constructs all partitions of integer n in reverse lexicographic order.
Partitions[n, k]
constructs all partitions of the integer n with maximum part at most k, in reverse lexicographic order.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team