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


Vocabulary
math.combinatorics

Inputs and outputs
seqa sequence
kan integer
permutationsa sequence


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

Definition