Let Q(x)=a2023x2023+a2022x2022+⋯+a1x+a0∈Z[x] be a polynomial with integer coefficients. For an odd prime number p we define the polynomial Qp(x)=a2023p−2x2023+a2022p−2x2022+⋯+a1p−2x+a0p−2.
Assume that there exist infinitely primes p such that
pQp(x)−Q(x)
is an integer for all x∈Z. Determine the largest possible value of Q(2023) over all such polynomials Q.Proposed by Nikola Velov algebrapolynomialabstract algebra