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/8/b/iii/solution

The initial values are and . The characteristic polynomial of the linear recurrence is
with roots and . Hence . The initial conditions give , , so , . Therefore

New to topics? Read the docs here!