Yes. We shall prove that P(x)=(x2+1)(x2−2)(x2+2)(x2+7) satisfies all properties. It is not hard to see that P has no rational root. It remains to show it satisfies the second condition.
Consider any odd prime p. Using facts about quadratic residues, we have the following.
* If p≡1(mod4), then x2+1≡0(modp) is solvable.
* If p≡7(mod8), then x2−2≡0(modp) is solvable.
* If p≡3(mod8), then x2+2≡0(modp) is solvable since
(p−2)=(p−1)(p2)=(−1)(−1)=1.
This shows there exists x and c∈{1,−2,2} such that x2+c≡0(modp). Note that p∤x. Therefore, we have
(x2+c)′=2x≡0(modp).
By Hensel's lifting lemma, x2+c≡0(modpk) is solvable for any positive integer k.
Next, we want to show for any k≥1, there exists an integer bk such that 2k∣(bk2+7). Indeed, the statement is true for k=1,2,3, by simply taking bk=1. Assume now the statement is valid for some k≥3. For the case k+1, take bk+1=bk+t2k−1, with t to be determined. Now, since bk is odd,
bk+12+7=(bk+t2k−1)2+7≡(bk2+7)+t2k(mod2k+1).
By the inductive hypothesis, 2k∣(bk2+7). So we just take t≡2kbk2+7(mod2) to get 2k+1∣(bk+12+7).
Now, let n=p1α1p2α2⋯psαs be the prime factorization of n. From above we know that for every 1≤j≤s, there exists an integer mj such that pjαj∣P(mj). By the Chinese remainder theorem, we can find m≡mj(modpjαj) for 1≤j≤s. Then P(m)≡P(mj)≡0(modpjαj). So n∣P(m). Therefore, the polynomial P(x) satisfies the second condition, and we are done.