Back to Brain Tonic
CombinatoricsmediumBT-053
#53 Derangements: The Recurrence Relation
The number of derangements of n items, denoted !n, satisfies the recurrence Dₙ = (n-1)(Dₙ₋₁ + Dₙ₋₂). Using this recurrence with D₀ = 1 and D₁ = 0, compute !6 (the number of derangements of 6 items).