How many bit strings of length eight contain either threeconsecutive os or four consecutive 1 s?
aexyboy:
hi
Answers
Answered by
0
Number of strings with 3 consecutive zeros = 25+5×24=11225+5×24=112, because the 3 zeros can start at bit number 1, 2, 3, .., 6
Number of strings with 4 consecutive ones = 24+4×23=4824+4×23=48, I used the same reasoning
Number of strings with 4 consecutive ones = 24+4×23=4824+4×23=48, I used the same reasoning
Similar questions
English,
7 months ago
Psychology,
7 months ago
Math,
1 year ago
Physics,
1 year ago
English,
1 year ago