Tags

#Inclusion-Exclusion

3 posts

Number Theory #3 5 min read

From Eratosthenes to Möbius Inclusion-Exclusion

Eratosthenes sieve for μ; g/f/h framework; Conclusions 1 and 2 with derivations and tables; GCD table intuition; CF 803F Coprime Subsequences with bottom-up and Möbius approaches.

Combinatorics #1.2 2 min read

Inclusion-Exclusion, Bounded Diophantine Equations, and Derangements

Inclusion-exclusion in set and operator form, equal-count subproblems, bounded Diophantine counting, derangements, Stirling numbers, and selected contest problems.