Markov chains and random walks · A king on a chessboard · difficulty 3 of 5
The wandering king
A king starts in a corner of an empty 8 × 8 board. Each move, it steps to one of the squares around it, chosen at random among those on the board. What is the expected number of moves until it's back in the corner?
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