MathCastle
Counting & ProbabilityHardInclusion–Exclusion, Derangements & Pigeonhole

Inclusion--Exclusion, Derangements & Pigeonhole · Hard problem

Seven people check identical-looking coats and later each grabs one at random. In how many ways can the coats be returned so that no person gets their own coat?