There is a prior question to show that polynomial of degree 7 with all integer coefficiants has 7 integer values $ P(x1,x2...x7)=+-1$ cant be expressed as product of two polynomials with integer coefficiants.
The solution is to try to express $P(x)=M(x)*Q(x)=+-1$ Highest degree of smaller degree polynomial lets say $M(x)$ can be 3. Given that $M(x)$ can either be $+1$ or $-1$ for $x1,x2...x7$. If $M(x)$ is of $degree 3$ and is equal $1$ in 3 cases,than it also has other 4 x's that are equal either 1 or -1.Which is impossible.It is impossible for any polynomial degree of n to have n+1 different roots.
Thats all ok,but I wonder why it was important to highlight that polynomial have integer coeffitients and 7 integer solutions which give outpus of 1 or -1. As far as I know any polynomial whather with integer or non integer coeffitiants cant have more roots than its degree.