// output of ./demo/comb/partition-dist-lex-rec-demo.cc: // Description: //% Generate all integer partitions into distinct part in lexicographic order, recursive algorithm. arg 1: 9 == n [Partitions of n] default=9 arg 2: 0 == mp [Minimal part > mp, 0 <= mp < n] default=0 1: 1+2+6 2: 1+3+5 3: 1+8 4: 2+3+4 5: 2+7 6: 3+6 7: 4+5 8: 9 9: ct=8