Answer:
There are 44 derangements of the hats.
Step-by-step explanation:
Solution:-
- A derangement is a permutation of objects that leaves no object in its original position.
- The permutation 21453 is a derangement of 12345 because no number is left in its original position. However, 21543 is not a derangement of 12345, because this permutation leaves 4 fixed.
- Let Dn denote the number of derangements of n objects:
The number of derangements of a set with n elements is:
- The answer is the number of ways the hats can be arranged so that there is no hat in its original position divided by n!, the number of permutations of n hats:
- There are 44 derangements of the hats.