<k-permutations> ( seq k -- permutations )


Vocabulary
math.combinatorics

Inputs
seqa sequence
kan integer


Outputs
permutationsa sequence


Word description
An efficient sequence containing the k lexicographical permutations of seq.

Definition