This is a problem I have faced great difficulty with. (teacher's challenge question)
Suppose $G(n)$ is a monic polynomial with integer coefficients in which $G(0)=31$. Also, suppose that the distinct integers $b_1,...,b_q$ satisfy $G(b_1)=...=G(b_q)=65$
1) Find the maximum possible value of $q$ (over all $G$)
I got that $q=4$ since the maximum number of terms that can multiplied together to give $-34$($31-65$) is 4.
2) Determine all G for which this maximum is achieved ($q=4$)
I am not quite sure how to approach this problem, please help I am really frustrated and this is really important for me to be able to solve! (I have a test and I should be able to do questions similar to these...)
P.S. I didn't put up my work for question 1 because that's not what I am really concerned about. My central question is number 2.