// output of ./demo/comb/necklace-mod-color-demo.cc:
// Description:
//% Generate all pre-necklaces, necklaces, and Lyndon words with a given number of colors.
//% The underlying equivalence relation additionally contains all permutations of colors (numbers).

arg 1: 5 == n  [length of strings >=1]  default=5
arg 2: 5 == m  [number of different beads >=2]  default=5
   1:  .....   1  N
   2:  ....1   5  N L
   3:  ...11   5  N L
   4:  ...12   5  N L
   5:  ..1.1   5  N L
   6:  ..1.2   5  N L
   7:  ..111   5  N L
   8:  ..112   5  N L
   9:  ..121   5  N L
  10:  ..122   5  N L
  11:  ..123   5  N L
  12:  .1.11   5  N L
  13:  .1.12   5  N L
  14:  .1.21   5  N L
  15:  .1.22   5  N L
  16:  .1.23   5  N L
  17:  .11.2   5  N L
  18:  .1111   5  N L
  19:  .1112   5  N L
  20:  .1121   5  N L
  21:  .1122   5  N L
  22:  .1123   5  N L
  23:  .12.2   5  N L
  24:  .12.3   5  N L
  25:  .1211   5  N L
  26:  .1212   5  N L
  27:  .1213   5  N L
  28:  .1221   5  N L
  29:  .1222   5  N L
  30:  .1223   5  N L
  31:  .1231   5  N L
  32:  .1232   5  N L
  33:  .1233   5  N L
  34:  .1234   5  N L
  # pre-necklaces = 47,  # necklaces = 34,  # Lyndon words = 33
