Permutations with Repeated Items

Calculates the number of ways to arrange n items where some are identical, n! ÷ (a! × b! × …). List the group sizes separated by commas: for "aaabbc", enter 3, 2, 1.