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
Solved by gpt-5.6-sol high.

New to topics? Read the docs here!