Expected time for the ant to return home on a cube
Asked at Jane Street
An ant starts at one vertex of a cube and each second moves along a randomly chosen edge (each of the incident edges with probability ).
What is the expected number of steps until the ant first returns to its starting vertex?