[Math] Number of permutations of the word “ABCDEFGHI”

combinatoricspermutations

How many permutations of the letters ABCDEFGHI are there…

  1. That end with any letter other than C.
  2. That contain the string HI
  3. That contain the string ACD
  4. That contain the strings AB, DE and GH
  5. If letter A is somewhere to the left of letter E
  6. If letter A is somewhere to the left of letter E and there is exactly one letter between A and E

Question 1

Total number of permutations – Permutations where the letter ends in C:

9! – 8! = 322560


Question 2

Treat "HI" as singular letter and calculate permutation as usual:

8! = 40320


Question 3

Treat "ACD" as singular letter:

7! = 5040


Question 4

Treat "AB", "DE", "GH" as singular letter:

6! = 720


Question 5, 6

This is where I hit a wall. How do I know the position of A in relation to B? I feel that I won't understand the answer even if I see it.


Is my answer to Q1 – Q4 correct? What is the key to solving Q5 and Q6?

Best Answer

1-4 look fine.

5)

In exactly $\frac 12$ of all permuations will A be to the left of E, and the other half it will be to the right.

$\frac {9!}{2}$

6) We have a sequence $AxE$ there are $7$ values that $x$ can be. And then think of $AxE$ as a single letter.

$7\cdot 7!$