Chapter 7: Q.7.18 (page 364)
Let X be the length of the initial run in a random ordering of n ones and m zeros. That is, if the first k values are the same (either all ones or all zeros), then X Ú k. Find E[X].
Short Answer
The of the problem if X be the length of the initial run in a random ordering of n ones and m zeros .