MathCastle
Counting & ProbabilitySuperchallengeExpected Value, Linearity & Advanced Probability

Expected Value, Linearity & Advanced Probability · Superchallenge problem

A fair coin is flipped until the first head appears; let NN be the number of flips (so N=1N=1 with probability 12\tfrac12, N=2N=2 with probability 14\tfrac14, and so on). Then a fair six-sided die is rolled NN times. What is the expected number of different faces that appear on the die? Express your answer as a common fraction.