PIE
- Proof proceeds where = the number of conditions and the ways can be chosen from the conditions.
Exactly K conditions
At least K conditions
At most K
universal set minus bad conditions (opposite of good conditions)
Derangements
Exactly fixed positions
- Choose the k fixed people from n and then derange the rest (!n)
Distributing
- If a group of all do not keep original positions/items, multiply independent derangements
Rook polynomials
- Choose k spots from a rows, k spots from b rows and