Expected number of people who get their own hat
hats are returned to their owners in a uniformly random permutation. Let be the number of people who receive their own hat.
What are and ?
Show a hint
Write where indicates that person matches. Linearity handles the mean; for the variance you need .