Problem

Source: 2019 Korea Winter Program Practice Test 1 Problem 3

Tags: algebra, polynomial, number theory



Find all polynomials $P(x)$ with integer coefficients such that for all positive number $n$ and prime $p$ satisfying $p\nmid nP(n)$, we have $ord_p(n)\ge ord_p(P(n))$.