Solution to How many strings of length 4 on the alphabet {A,B,C,D} do not contain AB as … - Sikademy
Author Image

Archangel Macsika

How many strings of length 4 on the alphabet {A,B,C,D} do not contain AB as a substring ?

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question

How many strings of length 4 can be generated from the letters {A,B,C,D} ?


4^4=256

If the element AB is on the first place


4^2=16

If the element AB is on the second place


4^2=16

If the element AB is on the third place


4^2=16

How many strings of length 4 on the alphabet {A,B,C,D} do not contain AB as a substring ?


256-(16+16+16)=208


Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-5-stid-8-sqid-1418-qpid-1156