Let f(k)=k2+k+n. The problem is to prove its contrapositive: if there exists some k(0⩽k⩽n−2) such that f(k) is not a prime, then there must be a k0(0⩽k0⩽ (n/3)1/2) such that f(k0) is not a prime. That is, if the set S of all k(0⩽k⩽n−2) for which f(k) is not a prime is not empty, then the smallest integer k0 in S must satisfy 0⩽k0⩽(n/3)1/2.
(i) Thus, the problem is to estimate the size of the smallest k0 from the fact that f(k0) is not a prime. This requires properties of the relationship between the divisors of f(k) and the variable k. The most important and basic divisibility property of integer-coefficient polynomials is Example 4 in Chapter 1, Section 2. The key to solving this problem, besides cleverly using this property and the definition of primes, also involves utilizing special divisibility properties of specific polynomials. Below, we first discuss this.
Let Z[x] denote the set of all univariate integer-coefficient polynomials:
Z[x]={g(x)=anxn+an−1xn−1+⋯+ajxj+⋯+a1x+a0:aj∈Z,0⩽j⩽n,n⩾0}
We have
g(y)−g(x)===(anyn+an−1yn−1+⋯+ajyj+⋯+a1y+a0)−(anxn+an−1xn−1+⋯+ajxj+⋯+a1x+a0)an(yn−xn)+an−1(yn−1−xn−1)+⋯+aj(yj−xj)+⋯+a1(y−x)(y−x)h(x,y)
where h(x,y)∈Z[x,y] (the set of bivariate integer-coefficient polynomials).
When x,y are integer variables, we have
(a) y−x∣g(y)−g(x);
(b) h(x,y)∣g(y)−g(x).
(a) is the common divisibility property of polynomials (see Chapter 1, Section 2, Example 4), which can be easily generalized to multivariate integer-coefficient polynomials.
For special integer-coefficient polynomials, there are special relationships between them and their variables in terms of divisibility, which is characterized by (b). This is very important. For example, for f(x)=x2+x+n, we have
f(x)−f(y)=(x−y)(x+y+1)
Thus,
x+y+1∣f(x)−f(y)
When a∣x+y+1, then a∣f(x)−f(y). Furthermore, if a∣f(x), then a∣f(y).
Next, we specifically analyze the divisor properties of the polynomial f(k)=k2+k+n.
(ii) From
n=f(0)⩽f(k)=k2+k+ny. From
f(x)−f(y)=(x−y)(x+y+1)
we can see: (a) if d∣f(x),d∣x−y, then d∣f(y); (b) if d∣f(x),d∣x+y+1, then d∣f(y) (this is the special divisibility property of the polynomial f(k)). Whether (a) or (b), the choice of the size of y can be appropriately controlled. In (a), we can take y=x−sd, and in (b), we can take y=−(x+1)+td.
(iv) If the set S is not empty, let k0 be the smallest k in S such that f(k) is not a prime. Suppose
f(k0)=p0a,p0 is the smallest prime factor of f(k0),
it is clear that
p0⩽a,p02⩽f(k0)<n2
Using (iii), we can discuss the relationship between k0 and p0, i.e., control the size of k0 by p0, and estimate the upper bound of p0 by p02⩽f(k0). This is the approach to solving this problem.