Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Source and scope. Part II, printed pages 199–200 (PDF pages 3–4), of Erdős (1974). The following complete elementary reconstruction expands the source's brief argument. The primality deduction and the coefficient proof of the equality case are supplied explicitly here.
For an integer , define
The first set is nonempty by the collective gcd lemma. The second set contains and is finite since every such prime is at most . Since , we have .
Statement. For every , is prime and
Complete proof. The upper bound follows immediately from the collective gcd lemma. The bound is immediate for . If and , Fermat's theorem gives for every . Thus the collective gcd cannot be one before the base has been reached. This proves and hence .
Write . By minimality, the gcd for exceeds one; fix a prime divisor of that gcd. If were composite, we could choose . Then , and therefore . The same prime would divide every power difference through , contradicting the definition of . Thus is prime.
If is prime, it contributes to , so the two bounds already give . Conversely suppose . There is a prime dividing all with . Necessarily , since a base would contradict that divisibility. Hence the elements are distinct roots of in , and the monic polynomials of degree satisfy
Comparing coefficients of gives in . Here and , so is odd and is nonzero modulo . It follows that , whence and is prime.
Source correction. Printed page 200 defines but then prints . That stronger inequality is false: gives , whereas the next prime is . The valid Fermat bound is , as proved above. This is a compilation correction, not a published erratum.
Endpoint convention. With the displayed minimum over , . Some formal statement files instead require , making their value at equal to . The definitions agree for all treated here.
Dependencies. lemma_p199, Fermat's little theorem, prime divisors of integers, and elementary polynomial algebra over a field.
Bears on. #770.