Solution

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

Try a linear function . The functional equation becomes for all , so must be a root of a polynomial . Its two roots of a polynomial give
For either choice, proves the required equality directly. The positive coefficient is the golden ratio.

New to topics? Read the docs here!