# Combinatorics. Permutation generator from N to M with repetitions.

Combinatorics. Permutation generator from N to M with repetitions.

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/4241/. Also, please do not modify any references to the original work (if any) contained in this content.

You can use this calculator to generate all types of permutations from n to m elements with repetitions.

You can read about permutations from n to m here - Combinatorics – combinations, arrangements and permutations.

The elements can be repeated in such types of permutations. Permutations with repetitions are also called finite sets. Two permutations with repetition are equal only when the same elements are at the same locations.

For example, permutations with repetitions of the three elements A, B, C by two are - AA, AB, AC, BA, BB, BC, CA, CB, CC.

The number of possible permutations with repetition of n elements by m equals

You can check the generation algorithm here

## Comments