Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/ia/paper-2/10e/b/iii/solution

For hitting zero before four, the success probabilities are
Conditioning each transition on eventual success gives
Thus the conditional expected hitting times satisfy
Solving this linear system gives

New to topics? Read the docs here!