Question

In: Computer Science

How many ways are there to arrange the letters a, b, c, d, e, and f...

How many ways are there to arrange the letters a, b, c, d, e, and f such that a is not directly followed by either b or c? For example, “abdef c” and “acdef b” are both invalid, but “adbcef” is valid.

Solutions

Expert Solution

Hi,

Please find the answer below:
---------------------------------------

  • Given: the letters a, b, c, d, e, and f
  • Condition: a is not directly followed by either b or c

There are 6 letters.
The total number of ways letters can be arranged: 6! ways.
TOTAL = 720 ways.

Now we go opposite of what asked in the question condition.
Let's see how many ways a directly follows letter b. For that, we club
a and b -> 'ab' as one letter.

There are 5 letters. ab,c,d,e,f

These can be arranged in 5! ways.
Let's call it AB = 120 ways.

Let's see how many ways a directly follows letter c. For that, we club
a and c -> 'ac' as one letter.

There are 5 letters. b,ac,d,e,f

These can be arranged in 5! ways.
Let's call it AC = 120 ways.

The total number of ways letters can be arranged with the condition is:

TOTAL - { AB + AC }

= 720 - { 120 + 120 }

= 480 ways

------------------------------

Hope this helps.


Related Solutions

How many ways are there to arrange the letters ‘a’, ‘b’, ‘c’, ‘d’, and ‘e’ such...
How many ways are there to arrange the letters ‘a’, ‘b’, ‘c’, ‘d’, and ‘e’ such that ‘a’ is not immediately followed by ‘e’ (no repeats since it is an arrangement)? Justify your answer using the product rule, the sum rule, and/or the subtraction rule .
1. a. How many permutations are there of the letters {A,B,C,D,E,F}? Of there, how many are...
1. a. How many permutations are there of the letters {A,B,C,D,E,F}? Of there, how many are even? b. Express the permutation BAFEDC in P6 in cycle notation and determine whether it is even or odd. c. Determine the composition BAFEDC*BCAFDE in P6. Is the composition even or odd? d. What is the members of P6 whose cycle notation (1345)(26)?
In how many ways can you rearrange the letters A, B, C, D, E?
In how many ways can you rearrange the letters A, B, C, D, E?
In how many ways can 7 people { A, B, C, D, E, F, G }...
In how many ways can 7 people { A, B, C, D, E, F, G } be seated at a round table if (a) A and B must not sit next to each other; (b) C, D, and E must sit together (i.e., no other person can sit between any of these three)? (c) A and B must sit together, but neither can be seated next to C or D. Consider each of these separately. For (c) you may NOT...
In how many ways can 9 people { A, B, C, D, E, F, G, H,...
In how many ways can 9 people { A, B, C, D, E, F, G, H, I } be seated at a round table if (A) A and B must not sit next to each other; (B) C, D, and E must sit together? (C) A and B must sit together, but neither can be seated next to C, D, or E. Consider each of these separately. For (C) you may NOT simply list all possibilities, but must use the...
(Circular Permutations) In how many ways can 7 people { A, B, C, D, E, F,...
(Circular Permutations) In how many ways can 7 people { A, B, C, D, E, F, G } be seated at a round table if (a) A and B must not sit next to each other; (b) C, D, and E must sit together (i.e., no other person can sit between any of these three)? (c) A and B must sit together, but neither can be seated next to C or D. Consider each of these separately. Hint: Conceptually, think...
In how many ways can you arrange the letters of " ARRANGEMENT?"
In how many ways can you arrange the letters of " ARRANGEMENT?"
Given 8 cards: A, B, C, D, E, F, G, H How many ways can all...
Given 8 cards: A, B, C, D, E, F, G, H How many ways can all the cards be arranged if you select with replacement? How many ways can four cards be arranged if you select with replacement? How many permutations are possible if you select 5 cards without replacement? How many combinations are possible if you select 6 cards without replacement? If the B and C cards are made into A cards, and the E, F, and G cards...
4 -letter words'' are formed using the letters A, B, C, D, E, F, G. How...
4 -letter words'' are formed using the letters A, B, C, D, E, F, G. How many such words are possible for each of the following conditions? (a) No condition is imposed. Your answer is : (b) No letter can be repeated in a word. Your answer is : (c) Each word must begin with the letter A. Your answer is : (d) The letter C must be at the end. Your answer is : (e) The second letter must...
1) How many different ways can you arrange the letters in the words a) “friends” b)...
1) How many different ways can you arrange the letters in the words a) “friends” b) “initial” c) “probability” Show your calculations.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT