You are given a non-linear integer polynomial $P$ and an integer $n$ such that any prime above $n$ divides $P(x)$ for some integer $x$. Is it necessary that the polynomial is reducible?
I was trying to solve the problem "show that any non-square integer $a$ is a quadratic non-residue modulo infinitely many primes" and noticed that if we show that the polynomial $x^2-a$ cannot have only finitely many primes not dividing it, we are done. This then generalized to the above statement which I am posing as a question.
It seems intuitively obvious that the above statement is true. Searching for a counterexample has not helped.
Is there an elementary way of tackling this problem?
Thanks in advance.
A similar question has been asked here. The answer by Eric Schneider is a gem.