Skip to main content
OlympiadHQ

Browse · MathNet

Print

67th NMO Shortlisted Problems

Romania number theory

Problem

Find all non-negative integers so that , and are simultaneously primes.
Solution
Let us denote:



We want , , to be simultaneously prime for some non-negative integer .

Let us try small values of :

For : All are prime.

For : is negative, is not prime.

For : is negative.

For : is negative, is not prime.

For : All are prime.

For : is not prime.

For : is not prime.

For : is not prime.

For : and are not prime.

For : is not prime.

For : is not prime.

For : is not prime.

For : None are prime.

Let us check if there is a pattern. Notice that for and , all three are prime. Let's check :

For : None are prime.

It seems that only and work. Let's check if for it is possible for all three to be prime.

For large , , , are all roughly minus a linear term plus a constant. For even, is even, so unless , it cannot be prime. For odd, is odd.

From above, for , (prime), for , (prime). For even and , is even and greater than , so not prime.

For odd, is odd, but from above, for , (prime), but (not prime). For , (prime), (not prime).

Therefore, the only non-negative integers for which all three expressions are simultaneously prime are and .

Answer: and .
Final answer
0 and 4

Techniques

OtherIntegers