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 23:00
Prove that 16^4-2^13-4^5 is divisible by 11.
Answers: 1
question
Mathematics, 21.06.2019 23:10
Which expression is equivalent to -12(3x-3/4)
Answers: 2
question
Mathematics, 21.06.2019 23:20
Suppose a laboratory has a 30 g sample of polonium-210. the half-life of polonium-210 is about 138 days how many half-lives of polonium-210 occur in 1104 days? how much polonium is in the sample 1104 days later? 9; 0.06 g 8; 0.12 g 8; 2,070 g
Answers: 1
question
Mathematics, 21.06.2019 23:30
Write a similarity statement for the similar triangles. afgh ~ a
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, 20.05.2021 16:00
question
Physics, 20.05.2021 16:00
question
Mathematics, 20.05.2021 16:00
question
Mathematics, 20.05.2021 16:00
Questions on the website: 13722361