Here's an interesting question I came across.The person who gave it to me told me that it should not take more than $3$ minutes to solve this question. But I could not find any definite solution :( Maybe you guys could give me some help.Any hints would be appreciated.Here's the question:
Let $f(x)$ be a polynomial with integer coefficients. Suppose for $5$ distinct integers $a_i$, $1\le i\le5$, $f(a_i)=2$. Find an integer b (if it exists) such that f(b) = $9$.