A couple decide to start having children and keep having children until they have the same number of boys and girls. How many children do they expect to have?
Using intuition, I get an answer of 2, but I'm not sure how to prove it mathematically or if it fits any sort of probability distribution model.