Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2016/discrete-mathematics-continuous-mathematics-and-probability/2/b/ii/solution

A pair belongs to exactly when two successive steps connect its endpoints. The chain has two such length-two paths, and . Hence
This applies composition of relations directly; no other middle element gives a pair.

New to topics? Read the docs here!