the setup: $N$ people arrive at a party all of whom are wearing hats. We collect all the hats and then redistribute them. What is the probability that at least $k$ of the party members receive their own hats back?
There are a total of $\binom{N}{k}$ number of ways to make a subset of $k$ people out of these $N$ people. let's label each of these $\binom{N}{k}$ subsets with a unique number between $1$ to $\binom{N}{k}$, arbitrarily. let $\space T_i \space$ be the event that all people in the subset labeled $i$ have received their own hats back.
Then, the probability that at least $k$ people receive their own hats back is $$P(\bigcup\limits_{i=1}^{\binom{N}{k}} T_{i}) = \sum_{i=1}^{\binom{N}{k}} P(T_{i}) - \sum_{i_1 < i_2}P(T_{i_1}T_{i_2}) + \dots + (-1)^{n+1}\sum_{i_1 < i_2<\dots<i_n}P(T_{i_1}T_{i_2}\dots T_{i_n}) + \dots + (-1)^{\binom{N}{k}+1}P(T_{1}T_{2}\dots T_{\binom{N}{k}})$$
question1: is this correct? is there any way to take this calculation forward?
question2: is there a simpler way to find the probability that at least $k$ people receive their own hats back
(other than $\sum_{i=k}^N\text{probability that at exactly k people receive their own hats back}$,
where the probability that exactly k people receive their own hats back is $\frac{\binom{N}{k} D_{N - k}}{N!}$, where $D_n = n! \cdot \sum_{i=0}^{n}\frac{(-1)^i}{i!}$)