Markov chains and random walks · A wandering elevator · difficulty 3 of 5
Back to the ground floor
An elevator serves floors 0 to 5. Each minute it moves one floor up or down at random; at floor 0 it must go up and at floor 5 it must go down. It leaves the ground floor now. How many minutes on average until it is back at floor 0?
Answer with an expected value. First lock in a gut guess with an 80% range, then solve it properly, then watch a simulation settle on the truth.
More markov chain and random walk puzzles
- Waiting for the ball · A game of catch
- Climbing with an edge · A winning streak
- From one spoke to another · A hub with spokes
- Playing until you're broke · A casino
- Rainy days in the long run · Weather
- The spider heads home · A spider's web
All markov chain and random walk puzzles · All puzzles · Market making game