Variance of the number of hat matches
hats are returned to their owners in a uniformly random permutation. Let be the number of people who receive their own hat (fixed points).
What is ?
Show a hint
with dependent indicators, expand and compute the pairwise probability carefully.