Analysis Note that p,q are different primes, and use the divisibility of the coefficients of the polynomial terms to determine the degrees and coefficients of the two positive-degree integer-coefficient polynomials that the polynomial f(x) decomposes into.
Solution Let f(x)=g(x)⋅h(x), where g(x) and h(x) are positive-degree integer-coefficient polynomials. Since f(x) is an integer-coefficient polynomial with a leading coefficient of 1, the leading coefficients of g(x) and h(x) are also 1. Without loss of generality, let g(x)=xr+ar−1xr−1+⋯+a0,h(x)=xs+bs−1xs−1+⋯+b0, where r,s⩾1 and r+s=n, a0,a1,⋯,ar−1,b0,b1,⋯,bs−1 are integers. Thus, a0b0=pq, so p divides a0 or b0, but not both. Without loss of generality, assume p∤b0, then p∣a0.
Assume p∣a0,⋯,p∣at−1,p∤at, then the coefficient of the t-th term in g(x)⋅h(x) is
atb0+at−1b1+⋯+a1bt−1+a0bt≡atb0≡0(modp).
Notice that the coefficients of the terms with degree less than n−1 in f(x) are all multiples of p. Therefore, t⩾n−1. So r⩾t⩾n−1.
Thus, from r+s=n and r,s⩾1, we get r=n−1,s=1. Therefore, h(x)=x+b0,p∤b0.
On the other hand, q∣a0b0. If q∣b0, then similarly we can prove s=n−1. Thus n=2, which contradicts n⩾3. Therefore, q∤b0. Since b0∣pq, we have b0=±1, so h(x)=x±1.
If b0=1, then h(x)=x+1, so f(−1)=0, i.e., (−1)n+a⋅(−1)n+pq=0, thus a=(−1)npq+1.
If b0=−1, then h(x)=x−1, so f(1)=0, i.e., 1+a+pq=0, thus a=−pq−1.
It is easy to verify that when a=(−1)npq+1 or a=−pq−1, f(x) can be decomposed into the product of two positive-degree integer-coefficient polynomials. Therefore, the values of a are (−1)npq+1 or −pq−1.