subject
Mathematics, 07.03.2020 05:32 katelynwest1

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 a.

(e)

The string contains at least seven consecutive a's.

(f)

The characters in the string "abababa" appear consecutively somewhere in the 9-character string. (So "ccabababa" would be such a 9-character string, but "cababcaba" would not.)

(g)

The string has exactly 2 a's or exactly 3 b's.

(h)

The string has exactly 2 a's or exactly 2 b's or exactly 2 c's

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 15:50
Arectangle has a width of 9 units and length of 40 units. what is the length of a diognal. a. 31 unitsb. 39 unitsc. 41 units d. 49 units
Answers: 1
question
Mathematics, 21.06.2019 18:30
You receive 15% of the profit from a car wash how much money do you receive from a profit of 300
Answers: 2
question
Mathematics, 21.06.2019 19:00
What are the solutions of the equation? z^2 + 11z + 24 = 0 a. 8, -3 b. 8, 3 c. -8, -3 d. -8, 3
Answers: 2
question
Mathematics, 22.06.2019 00:00
If (x + 8) is a factor of f(x), which of the following must be true? both x = –8 and x = 8 are roots of f(x). neither x = –8 nor x = 8 is a root of f(x). f(–8) = 0 f(8) = 0
Answers: 3
You know the right answer?
Count the number of strings of length 9 over the alphabet {a, b, c} subject to each of the following...
Questions
question
Mathematics, 11.10.2020 14:01
question
Mathematics, 11.10.2020 14:01
question
Chemistry, 11.10.2020 14:01
question
SAT, 11.10.2020 14:01
question
Mathematics, 11.10.2020 14:01
question
Mathematics, 11.10.2020 14:01
question
Mathematics, 11.10.2020 14:01
Questions on the website: 13722363