Home
Evaluations
Tags
Lectures
Sandbox
About
Contribute
Evaluations
Tags
Lectures
About
Back
Question:
2015 Fall Final - 3
Author: Michiel Smid
How many bitstrings $s_1s_2 \dots s_{20}$ of length 20 have the property that $s_1s_2s_3 = 000$ or $s_2s_3s_4 = 000$?
(a)
$2^{17} - 2^{16}$
(b)
$2^{18} - 2^{16}$
(c)
$2^{17} - 2^{15}$
(d)
$2^{18} - 2^{17}$
COMP 2804: Discrete Structures II
COMP 2804 Final Exam
Counting Bitstrings of Length n (3.1.1)
The Principle of Inclusion and Exclusion (3.5)