gives the integer partition following p in reverse lexicographic order.
Details and Options
  
    
   See Also
 Tech Notes
 Related Guides
 Combinatorica`
   Combinatorica`
  NextPartition
gives the integer partition following p in reverse lexicographic order.
Details and Options
- To use NextPartition, you first need to load the Combinatorica Package using Needs["Combinatorica`"].