Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2011/ii/paper-1/4g/solution
Past exam of the mathematics course of the University of Cambridge 2011 ii Paper 1 4G Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-14
Use binary search: maintain the interval of possible integers and ask whether is at least the first integer in its upper half. Each answer reduces the number of possibilities to at most its previous number divided by two, rounded up. After questions at most possibilities remain. Since , twenty questions suffice.
A yes/no decision tree of depth twenty has at most leaves, whereas the possible finishing orders number . Thus twenty questions cannot identify the finishing order of fifteen horses, assuming no ties. With unrestricted yes/no questions, the exact minimum for horses is : the leaf count is a lower bound, and repeatedly partitioning the remaining permutations into two nearly equal sets attains it. In particular fifteen horses require 41 questions.
By Stirling's formula,so the leading number of questions is . These questions may ask about whole sets of possible orders; restricting them to pairwise comparisons is a different model.
New to topics? Read the docs here!