R(n) returns a uniformly random integer from 0 to n-1. Starting from 10^100 and applying R to each result in turn, what is the expected number of applications until the value reaches zero?
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related questions
Starting from 0, repeatedly add a random number sampled uniformly from [0,1]. What is the expected number of samples needed for the running sum to exceed 2?What is the expected number of inversions in a uniformly random permutation of n elements?Seven orbs hang in a chain from the ceiling. Each step one remaining link is cut at random and everything below it falls. What is the expected number of cuts until only the top orb remains?Related courses

Course

Course