Stuck on this question and wondering if I could get some help.
Suppose n people go to a party and leave their hats at the door. At the end of the party, each person picks up a hat at random. Assume each assignment of hats to persons is equally likely.
What is the expected number of people that get their own hats back?
So what I was thinking is that the first person who picks up a hat will pick their own hat with a prob of $\frac{1}{n}$. The second would have prob $\frac{1}{n-1}$ etc.. I'm not convinced however that this is the right way to go about the question.