“”So I was thinking that $P(\text {no two matching socks next to each other}) = 1 - P(\text {at least one matching socks next to each other}).$
Letting $\text{“sock $i$ together”}$ mean the left sock $i$ and right sock $i$ being together,
the above is equivalent to $1 - P(\text{sock 1 together} \cup \text{sock 2 together} \cup \cdots\cup \text{sock $n$ together})$, where $\cup$ is the union.
Then I could use principle of inclusion-exclusion to expand $P(\text{sock 1 together U sock 2 together} \cup\cdots\cup \text{sock $n$ together}) = P(\text{sock 1 together}) + \cdots + P(\text{sock $n$ together}) - (P(\text{sock 1 together $n$ sock 2 together}) + \cdots) + P(\text{sock 1 together $n$ sock 2 together $n$ sock 3 together}) +\cdots \text{etc.}$
This seems like it's going to get very long (esp with n different pairs), and the multiple intersections make the probabilities harder to calculate as well—so I was wondering if people could help me figure out a perhaps more concise way.
