Maths WorkshopMaths problems with full solutions
Exercise 1231Algebra › PolynomialsOlympiadAdded 4 Nov 2026

Divisibility of values of an integer polynomial

#integer polynomials#a−b divides P(a)−P(b)#integer roots

Statement

Let PP be a polynomial with integer coefficients.

  1. Show that for all integers a≠ba\ne b, a−ba-b divides P(a)−P(b)P(a)-P(b). Deduce that no such PP satisfies P(7)=11P(7)=11 and P(11)=13P(11)=13.
  2. Suppose that P(a)=P(b)=P(c)=−1P(a)=P(b)=P(c)=-1 for three distinct integers a,b,ca,b,c. Show that PP has no integer root.
Hint

For part 1, use xk−yk=(x−y)(xk−1+⋯+yk−1)x^k-y^k=(x-y)(x^{k-1}+\dots+y^{k-1}). For part 2, write P(x)+1=(x−a)(x−b)(x−c)Q(x)P(x)+1=(x-a)(x-b)(x-c)Q(x) and look at an integer root nn.

Show solutionHide solution

Solution

1. If P(x)=∑ckxkP(x)=\sum c_kx^k, then P(a)−P(b)=∑ck(ak−bk)P(a)-P(b)=\sum c_k(a^k-b^k) and each ak−bka^k-b^k is a multiple of a−ba-b. So (a−b)∣P(a)−P(b)(a-b)\mid P(a)-P(b).

If P(7)=11P(7)=11 and P(11)=13P(11)=13, then 7−11=−47-11=-4 must divide 11−13=−211-13=-2: false. So no such polynomial exists.

2. The polynomial P(x)+1P(x)+1 has the integer roots a,b,ca,b,c, so P(x)+1=(x−a)(x−b)(x−c)Q(x)P(x)+1=(x-a)(x-b)(x-c)Q(x) where QQ has integer coefficients. If nn were an integer root of PP, then
(n−a)(n−b)(n−c)Q(n)=P(n)+1=1.(n-a)(n-b)(n-c)Q(n)=P(n)+1=1.
So n−a,n−b,n−cn-a,n-b,n-c are three integers whose product divides 11: each of them is ±1\pm1. But they are pairwise distinct, and there are only two values ±1\pm1. Contradiction.

Lesson. For integer polynomials, always think of the divisibility a−b∣P(a)−P(b)a-b\mid P(a)-P(b) and of factoring P(x)−kP(x)-k over the integers.