Exercise 2156Combinatorics › Inclusion-exclusionOlympiadAdded 3 Nov 2026
Exactly $k$ properties
#IE#exactly k#sieve
Statement
State the formula for the number of elements having exactly of properties.
Hint
Use higher-order IE with binomial weights.
Show solutionHide solution
Solution
Formula. Let . Then the number of elements with exactly properties is
Special cases. (no property); .
Conclusion. The exact-count sieve formula.