Solution

ID: past-exam-of-the-options-i-course-of-the-university-of-oxford/2011/m/2/d/solution

With probability , the chain starts at and . Conditional on starting at , it takes a geometric number of transitions to first reach , with success probability , so . The probability generating function is therefore
The parameter is absent because the process stops at its first visit to . At the expression equals one, confirming eventual hitting with probability one.

New to topics? Read the docs here!