MathCastle
Counting & ProbabilitySuperchallengeExpected Value, Linearity & Advanced Probability

Expected Value, Linearity & Advanced Probability · Superchallenge problem

Two players each independently flip a fair coin until obtaining a first head; let XX and YY be the numbers of flips they need. Find the expected value of max⁡(X,Y)\max(X,Y).

The answer is a fraction mn\tfrac{m}{n} in lowest terms; find m+nm + n.