Given a polynomial $p$ with integer coefficients such that $p(5)=25$, $p(14)=16$, $p(16)=36$.
Need to find all the possible values of $p(10).$
So I guess $p(10)=0$ is an option, but maybe there are more. Not sure how to find them easily.
Given a polynomial $p$ with integer coefficients such that $p(5)=25$, $p(14)=16$, $p(16)=36$.
Need to find all the possible values of $p(10).$
So I guess $p(10)=0$ is an option, but maybe there are more. Not sure how to find them easily.
Hint $\ $ The squared values suggest the polynomial is a square. With that in mind one easily sees the unique quadratic is $\,p(x) = (x-10)^2\ $ (one could also use Lagrange interpolation to see this).
All higher degree solutions have form $\ p(x) = (x\!-\!10)^2 + (x\!-\!5)(x\!-\!14)(x\!-\!16) \,g(x)\ $ where $\,g \in \Bbb Z[x]\,$ since $\,p \in \Bbb Z[x]\,$ (e.g. see here). Thus $\,p(10) = 120\, g(10) = 120n,\ n \in \Bbb Z.\,$ So $\,p(10)\,$ has values that are precisely all integer multiples of $120\,$ (since $\,g(x) = n\,\Rightarrow\, p(10) = 120n).$
Let $p(X)=q(X-10)$ and $q(X)=c+XQ(X)$. So $p(10)=c$.
So $c=60k$. Are all value of $k$ possible?
Obviously $Q(4)$ and $Q(6)$ must have the same parity, so $k$ must be even.
So $c=120i$. Are all value of $i$ possible?
Try to find a second degree polynomial by Gauss elimination:
$$Q(X)=iX^2+(1-5i)X-26i.$$
All solutions for $i\in\mathbb Z$ such that $P(10)=120i$ are good.