218k views
1 vote
Count the number of strings of length 8 over a = {w, x, y, z} that begins with either w or y and have at least one x.

1 Answer

6 votes


1\cdot4^3\cdot2=128 - all starting with w or y


1\cdot3^3\cdot2=54 - all starting with w or y, not having any x


128-54=74 - starting with w or y and having at least one x

User Gabo Esquivel
by
8.2k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories