Variations with repetition Variations with repetition are the different ordered arrangements of a -element subset of an -set, allowing repetitions. Syntax variations_with_repetition(Integer, Integer) variations_with_repetition(List | Vector, Integer) Description variations_with_repetition(Integer, Integer) Given two integers and , computes all possible arrangements described above. variations_with_repetition(List | Vector, Integer) Given a list and a vector with elements, returns a list with all the -subsets. Related functions Variations, Combinations, Combinations with repetition, Permutations, Permutations with repetition Table of Contents Syntax Description Related functions