Problem

Source: USAMO 1997

Tags: algebra, polynomial, USAMO, algorithm



Prove that for any integer $n$, there exists a unique polynomial $Q$ with coefficients in $\{0,1,\ldots,9\}$ such that $Q(-2) = Q(-5) = n$.