Number of permutations of the word "ABCDEFGHI"

2.7k Views Asked by At

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?

2

There are 2 best solutions below

3
On 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!$

2
On

I find your answers to Q1 through Q4 fine!

To answer Q5, start by writing down the A and the E:

$$\_ A \_ E \_$$

where the underscores represent the three boxes in which you can fit the other letters. Can you count in how many ways those three boxes can be filled?

To answer Q6, you go for a similar reasoning. Write $A$ and $E$:

$$\_ A - E \_$$

but now you start by assigning a single letter to $-$. Then you distribute all the other letters among the two boxes $\_$.