So two people are flipping a fair coin $n$ times each. What's the probability that they both flip the same number of heads?
My current approach was to use a binomial, and sum up the cases when X (no of heads) = 0,1,...,n But was wondering if there was a better approach, i.e from sum of variables or a generating function for each pair of flips?