Inclusion-Exclusion (Advanced)
Inclusion-Exclusion (Advanced)
Main idea: reduce by grouping subsets by size
A lot of hard IE problems look impossible because there are subsets.
The trick is:
- first write IE on subsets
- then prove the intersection count depends only on , not on the exact subset
If
then