Vocabularymath.
combinatorics.
privateInputsOutputsWord descriptionConverts an integer represented in factoradic form into its corresponding unique permutation (0-based).
NotesFor clarification, the following two statements are equivalent:
10 factoradic >permutation
{ 1 2 0 0 } >permutation
ExamplesUSING: math.combinatorics.private prettyprint ;
{ 0 0 0 0 } >permutation .
{ 0 1 2 3 }
Definition