Let the polynomial $f(x)=x^n+a_1 x^{n-1}+a_2 x^{n-2}+.....a_{n-1}x+a_n$ have integral coefficients. If there exists four distinct integers $a,b,c$ and $d$ such that $f(a)=f(b)=f(c)=f(d)=5$ show that there is no integer $k$ such that $f(k)=8$
I have tried to prove it but I somehow feel that my proof is incorrect please point out the errors and suggest some other way to do the question. This how I proceeded $\frac{x^{n+1}-1}{x-1}=x^n+a_1 x^{n-1}+a_2 x^{n-2}+.....a_{n-1}x+a_n $
$\frac{a^{n+1}-1}{a-1}=5$ hence $\frac{a^{n+1}-1}{5}=a-1$ Since $a$ is an integer $a-1$ will also be an integer hence $5|a^{n+1}-1$
Using fermat's little theorem we know that $a^4-1\equiv_5 0$ Since $f(a)=5$ we get $n+1=4$
Let k be an integer such that $f(k)=8$ $\frac{a^4-1}{8}=a-1$ Since $a-1$ is an integer $8|a^4-1$
We will consider two cases
- when $a$ is an even integer
- when $ a$ is an odd integer
If $a$ is even then $a^4-1$ will be odd and it not be divisible by $8$
If $a$ is odd then it will be relatively prime to $8$ hence $8$ will be Carmichael number
$a^7-1\equiv0(mod8)$ which proves that $a^4-1$ is not divisible by 8. $\therefore$ there is no integer k such that $f(k)=8$