Given n letters 'A' and n letters 'B', how many unique words can be obtained using all 2n letters? Or how many unique arrangements exist for those letters? Why is the answer $C_{2n} ^n = \frac{2n!}{n!n!}$? I understood the fact that given 2n letters there are 2n! permutations and that because it's the same letter repeated there are identical permutations, but how do you reach that formula?
And in general, I've been told by my teacher than given a number of letters, the general formula would be $\frac{n!}{n_1! ... n_k!}$ where n is the total number of letters and $n_k$ the number of letters of the K-th letter. Why is that?
