Problem

Source: 2024 Taiwan TST Round 3 Mock P6

Tags: Taiwan, polynomial, Sequence, algebra



Find all positive integers $n$ and sequence of integers $a_0,a_1,\ldots, a_n$ such that the following hold: 1. $a_n\neq 0$; 2. $f(a_{i-1})=a_i$ for all $i=1,\ldots, n$, where $f(x) = a_nx^n+a_{n-1}x^{n-1}+\cdots +a_0$. Proposed by usjl