Comment Comment by hardlianotion Expected index given byE [X] = \sum_{i \in [2,100)} p(X < i)\prod_{j < i}p (X \ge j)i.Edit: Sorry rest of reply was wrong. Had to account for not hitting until i^th loop. parent hardlianotion 2 years ago
E [X] = \sum_{i \in [2,100)} p(X < i)\prod_{j < i}p (X \ge j)i.
Edit: Sorry rest of reply was wrong. Had to account for not hitting until i^th loop.