Recursionmedium
0:00.0
The number of derangements of items (permutations where no element is in its original position) satisfies:
with . Compute .
The number of derangements of items (permutations where no element is in its original position) satisfies: with . Compute .