Priors

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.

Play it

More markov chain and random walk puzzles

All markov chain and random walk puzzles · All puzzles · Market making game