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 17:00
Identify the graph of y = ln x + 1.
Answers: 3
question
Mathematics, 21.06.2019 19:30
Equation for the calculation double 2 and then add 5
Answers: 1
question
Mathematics, 21.06.2019 22:00
`if you have a set of parallel lines a and b cut by transversal x, if angle 1 = 167 degrees, what is angle 4 and why. also what is the measure of angle 5 and why? you need to use the names of the angle relationship and explain. ''.
Answers: 3
question
Mathematics, 21.06.2019 23:00
Someone answer this asap for the first five terms of a sequence are shown. 5, 11, 23, 47, 95, . . which recursive function defines the nth term in the sequence for n > 1? a. f(n) = f(n - 1) + 6 b) f(n) = f(n - 1) + 48 c) f(n) = 3 • f(n - 1) + 1 d) f(n) = 3 • f(n - 1) - 4
Answers: 1
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, 24.06.2021 16:40
question
Mathematics, 24.06.2021 16:40
question
Mathematics, 24.06.2021 16:40
Questions on the website: 13722367