Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2018/discrete-mathematics-continuous-mathematics-and-probability/7/c/iii/solution

The characteristic polynomial of the homogeneous linear recurrence is , so its repeated-root solutions are . A constant particular solution is one. Thus . The initial conditions give and , hence
The factor is required by the repeated root of a polynomial; omitting it would lose one independent solution.

New to topics? Read the docs here!