Combinations and Permutations Calculator
Calculate combinations and permutations step by step
The calculator will find the number of permutations/combinations, with/without repetitions, given the total number of objects and the number of objects to choose. It will also generate the list of r-combinations (r-permutations) from the given list, with steps shown.
Your Input
Find the number of permutations with repetitions .
Generate the list of 6-permutations with repetitions of {B, A, N, A, N, A}.
Solution
The formula is .
We have that and .
Thus, .
Now, deal with the list.
Count the number of occurrences of each element: B occurs 1 time, A occurs 3 times, N occurs 2 times.
Thus, the number of elements in the generated list is (for calculating the factorial, see factorial calculator).
Answer
The number of elements in the generated list is A.
The generated list is {A, A, A, B, N, N}, {A, A, A, N, B, N}, {A, A, A, N, N, B}, {A, A, B, A, N, N}, {A, A, B, N, A, N}, {A, A, B, N, N, A}, {A, A, N, A, B, N}, {A, A, N, A, N, B}, {A, A, N, B, A, N}, {A, A, N, B, N, A}, {A, A, N, N, A, B}, {A, A, N, N, B, A}, {A, B, A, A, N, N}, {A, B, A, N, A, N}, {A, B, A, N, N, A}, {A, B, N, A, A, N}, {A, B, N, A, N, A}, {A, B, N, N, A, A}, {A, N, A, A, B, N}, {A, N, A, A, N, B}, {A, N, A, B, A, N}, {A, N, A, B, N, A}, {A, N, A, N, A, B}, {A, N, A, N, B, A}, {A, N, B, A, A, N}, {A, N, B, A, N, A}, {A, N, B, N, A, A}, {A, N, N, A, A, B}, {A, N, N, A, B, A}, {A, N, N, B, A, A}, {B, A, A, A, N, N}, {B, A, A, N, A, N}, {B, A, A, N, N, A}, {B, A, N, A, A, N}, {B, A, N, A, N, A}, {B, A, N, N, A, A}, {B, N, A, A, A, N}, {B, N, A, A, N, A}, {B, N, A, N, A, A}, {B, N, N, A, A, A}, {N, A, A, A, B, N}, {N, A, A, A, N, B}, {N, A, A, B, A, N}, {N, A, A, B, N, A}, {N, A, A, N, A, B}, {N, A, A, N, B, A}, {N, A, B, A, A, N}, {N, A, B, A, N, A}, {N, A, B, N, A, A}, {N, A, N, A, A, B}, {N, A, N, A, B, A}, {N, A, N, B, A, A}, {N, B, A, A, A, N}, {N, B, A, A, N, A}, {N, B, A, N, A, A}, {N, B, N, A, A, A}, {N, N, A, A, A, B}, {N, N, A, A, B, A}, {N, N, A, B, A, A}, {N, N, B, A, A, A}.