Problem:
Six standard fair six-sided dice are rolled and arranged in a row at random. Compute the expected number of dice showing the same number as the sixth die in the row.
Problem:
Six standard fair six-sided dice are rolled and arranged in a row at random. Compute the expected number of dice showing the same number as the sixth die in the row.
Solution:
For each , let denote the indicator variable of whether the -th die shows the same number as the sixth die. Clearly, always. For all other , is with probability and otherwise, so .
By linearity of expectation, the answer is