Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2026/iii/paper-145/2/d/solution

The sum is the chromatic polynomial of the path, so

New to topics? Read the docs here!