By the multiplication principle, the successive places have six, five, four, three, two and one available letters. Thus the number of permutations is
The last letter has two permitted choices, and each leaves permutations. The two classes are disjoint, so the count is
Let denote the set of arrangements with fifth, and those with sixth. Each contains arrangements, while their intersection contains . The inclusion-exclusion principle gives
Requiring exactly one condition means taking the symmetric difference of the two sets. Subtract their shared cases twice from the two individual counts:Equivalently, remove the twenty-four arrangements satisfying both conditions from the inclusive count .
Articles by others on the same topic
There are currently no matching articles.