This problem is a special case of problem 42 with t=k
and n−1
floors. Thus, the expected number of stops is (n−1)−(n−1)(n−2n−1)k.
(b)
Let Ij
be the indicator variable for the j-th
floor being selected for 2≤j≤n.
Then, the number of stops is X=∑nj=2Ij.
Thus,
E(X)=E(n∑j=2Ij)=n∑j=2E(Ij)=n∑j=2(1−(1−pj)k)