Counting & ProbabilityHardInclusion–Exclusion, Derangements & Pigeonhole
Inclusion--Exclusion, Derangements & Pigeonhole · Hard problem
How many permutations of have exactly two numbers in their natural positions (i.e., exactly two values with )?
How many permutations of have exactly two numbers in their natural positions (i.e., exactly two values with )?