Question

In: Statistics and Probability

[02] For n ≥ 1, how many strings of length n using letters a,b,c are there...



[02] For n ≥ 1, how many strings of length n using letters a,b,c are there if the letter a must occur an even number of times?

Solutions

Expert Solution

Answer:

Given Data

For ,

How many strings of length n using letters a,b,c are there if the letter a must occur an even numberof times.

, letters a, b, c

Condition a must occurs an even no. of times

(0,2,4,6,------)times

Let the string of length is n

1) only used b,c Total length n

Each place we have two options b,c

Total string = 2n

2) Now add a,b,c to make string

a occurs two times

a occurs four times

In general

Total String of length n T(n) =

where  

Let n = 1 ,

Strings = { b , c }

Strings = 2

Using formula ,

  

  

value of k is possible

T(n) = 2n

= 21

= 2

Let n = 2 ,

Strings = {aa, bc, cb, bb, cc}

   Strings = 5

Using formula  

  

= 1

   

  

= 4+1

= 5

Let n = 3 ,

Strings = {aab, bcb, baa, aac, aca, caa, bbb, ccc, bbc, bcb, cbb, ccb, cbc, bcc}

   Strings = 14

Using formula ,

= 1

  

  

= 8 + 6

= 14

The approach of finding the total number of strings of length n using letters a,b, c are there if the letter a must occur an even number of times is:-

First finding total no of strings of length n using only b and c because there are no restrictions on b and c that is equal to 2n.

Then finding total no of strings of length n using a,b,c by considering an iteratively 2 times 4 times .........

until it will less than n.

  


Related Solutions

Permutation and Combination 1. How many ways can the letters A B C be arranged, using...
Permutation and Combination 1. How many ways can the letters A B C be arranged, using each letter only once? 2. A code has 4 digits in a specific order, the digits are between 0-9. How many different permutations are there if one digit may only be used once? 3. In how many ways can three students be selected for a project from a group of fifteen students? 4. Richmond Machine Shop has eight machines but only three spaces available...
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)?
3. How many strings can be made using 9 or more letters of MISSISSIPPI?
3. How many strings can be made using 9 or more letters of MISSISSIPPI?
How many bit strings of length 8 if i. bit strings start with the bit 1;...
How many bit strings of length 8 if i. bit strings start with the bit 1; ii. bit strings end with the two bits 00; iii. bit strings either start with the bit 1 or end with the bits 00.؟
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. How many 12-bit strings (that is, bit strings of length 14) start with the sub-string...
1. How many 12-bit strings (that is, bit strings of length 14) start with the sub-string 011? 2. You break your piggy bank to discover lots of pennies and nickels. You start arranging them in rows of 6 coins. How many coins would you need to make all possible rows of 6 coins (not necessarily with equal numbers of pennies and nickels)? 3. How many shortest lattice paths start at (4, 4) and end at (13, 13)? 4. What is...
How many bit strings of length fifteen a) Contain at least four 0s? b) Contain at...
How many bit strings of length fifteen a) Contain at least four 0s? b) Contain at most four 0s? c) Contain exactly four 0s? d) Begin with four 0s?
How many bit strings of length fifteen a) Contain at least four 0s? b) Contain at...
How many bit strings of length fifteen a) Contain at least four 0s? b) Contain at most four 0s? c)Contain exactly four 0s? d) Begin with four 0s?
Exercise 10.11.1: Counting strings over {a, b, c}. infoAbout Count the number of strings of length...
Exercise 10.11.1: Counting strings over {a, b, c}. infoAbout Count the number of strings of length 9 over the alphabet {a, b, c} subject to each of the following restrictions. (a) The first or the last character is a. (b) The string contains at least 8 consecutive a's. (c) The string contains at least 8 consecutive identical characters. (d) The first character is the same as the last character, or the last character is a, or the first character is...
How many permutations of the letters ABCDEFGHIJKLM do not contain the strings “BAD” or “DIG” or...
How many permutations of the letters ABCDEFGHIJKLM do not contain the strings “BAD” or “DIG” or “CLAM” consecutively? (Hint: Inclusion-exclusion and subtraction). **I KNOW THE ANSWER IS NOT 13! - 11! - 11! - 10! ** - please do not give that as one.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT