Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2017/discrete-mathematics-continuous-mathematics-and-probability/3/d/solution

A stronger exact formula makes the induction explicit:
For , the recurrence gives . For , set , so . In the relevant binary interval, . The strong induction hypothesis gives
For , . Hence . This is an integer-halving recurrence with constant toll; the separately defined case does not require evaluating .

New to topics? Read the docs here!