How many distinct n-letter "words" can be formed from a set of k letters where some of the letters are repeated?
Examples:
__
How many 6-letter words can be formed from the letters: ABBCCC?
This is elementary. There are 6! arrangements counting repeats. Then we just divide by 2!3! to account for the repeats caused by the 2!3! identical arrangements of the Bs and Cs
How many 5-letter words can be formed from the letters: ABBCCC?
Excluding A we have $\frac{5!}{2!3!}$
Excluding either B $\frac{5!}{3!}$
Excluding any of the Cs $\frac{5!}{2!2!}$
Then take the sum.
How many 4-letter words can be formed from the letters: ABBCCC?
At this point I find it difficult to procede without far too many cases.
Is there a general approach?

