Combinatorica Package >

NextPartition

NextPartition[p]
gives the integer partition following p 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