asked 214k views
5 votes
How many length-6 strings over Σ = {0, 1, 2} have exactly two 2’s?

1 Answer

4 votes
Since the string has already two 2, then we will compute the whole number of strings whose length is 4, over the alphabet {0,1}:
2^4=16.
There is then 16 such strings.

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.