MathCastle
Counting & ProbabilityChallengeInclusion–Exclusion, Derangements & Pigeonhole

Inclusion--Exclusion, Derangements & Pigeonhole · Challenge problem

How many permutations of {1,2,…,7}\{1,2,\dots,7\} have exactly 33 fixed points (values ii with π(i)=i\pi(i)=i)?