Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/ia/paper-2/10f/b/solution

Conditional on label still having frequency one, it is avoided at step with probability . Consequently
The last observation is a singleton exactly when it introduces a new label, whose conditional probability is . Taking expectations gives

New to topics? Read the docs here!