Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team selection tests for IMO 2018

Saudi Arabia 2018 number theory

Problem

Denote as the set of prime divisors of all integers of form , . Prove that and both contain infinitely many elements ( is the set of prime numbers).
Solution
First, suppose on the contrary that is finite, then for . It is easy to check that .

Consider number and . For some , by Euler's theorem, we have Then and . Hence, . So by the Chinese remainder theorem, we also have and then has some prime divisor that differs from , which is a contradiction.

Thus, has infinitely many elements.

To prove the second part, just consider some prime such that there does not exist such that either or . Indeed, suppose that for such prime , then we have two cases:

- If is even then , which can be written as for some coprime to . Then take such that , so , contradicting that is not a quadratic residue modulo . - If is odd then we have a similar argument.

Thus, we just need to show that there are infinitely many such primes. By Euler's criterion about quadratic residues, we need So we can see that and , which implies that we can take any prime of the form or . Dirichlet's theorem states that the primes of the form for any coprime positive integers are infinite, so we finish our proof.

Techniques

Fermat / Euler / Wilson theoremsChinese remainder theoremQuadratic residuesQuadratic reciprocity