Text
How many -letter “words” formed from the alphabet contain each of the three letters at least once?
Solution
We use the inclusion-exclusion principle. The total number of words is . We subtract those missing at least one letter.
- Words using at most fixed letters (one is missing): each, and the missing letter can be chosen in ways .
- But this removed twice the words with a single letter; there are each, for pairs we add them back: .
Hence the “complete” words number