EXAMPLE 40 Counting permutations: Secret Santas
“Secret Santa” refers to a method whereby each member of a group anonymously buys a holiday gift for another member of the group. Each person is secretly assigned to buy a gift for another randomly chosen person in the group. Suppose Jessica, Laverne, Samantha, and Luisa share a dorm suite and want to do Secret Santa this holiday season.
Solution
The number of permutations is calculated as follows: