MathCastle
Counting & ProbabilityEasyInclusion–Exclusion, Derangements & Pigeonhole

Inclusion--Exclusion, Derangements & Pigeonhole · Easy problem

A derangement of nn objects is a rearrangement in which no object stays in its original position, and DnD_n counts the derangements of nn objects. Find D1D_1, D2D_2, D3D_3, and D4D_4.