Counting 2
CS 70 July 15 2020
1 Combinatorial
Theorem
2
Simple
Inclusion
and Exclusion
3
Inclusion
and Exclusion
4
Derangement's
5
Sampling
6 Star
and
Bars
2
nm
e nu
t
no
T
LHS
2
2 X
XZ
2mg The number of subsets
as
- f
Is
g n
RHS
subsets iz
y
- r
I
- r
2
- r
n
b
F
2
e
nu
2
no
Y
e
Nnn