Combinatorica`
Combinatorica`

Strings

Strings[l,n]

constructs all possible combinatorial strings of length n from the elements of list l.

Details and Options

  • To use Strings, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
  • A combinatorial string of length k on an alphabet M is an arrangement of k, not necessarily distinct, symbols from M.