math.combinatorics: produce type of sequence in selections.