Skip to main content
OlympiadHQ

Browse · MathNet

Print

75th Romanian Mathematical Olympiad

Romania number theory

Problem

Find the prime numbers , with and , satisfying (1) ; (2) .
Solution
Since , the number is odd. Therefore either three of the numbers are even (and, being primes are equal to ), or exactly one of them is even (therefore equal to ).

If three of the numbers are equal to , condition (2) implies that the square of the fourth number is – impossible. So exactly one of the numbers is equal to . Now and yields that either , or .

The three numbers different from have the sum of their squares . Since a perfect square is or , one of the squares must be , so the corresponding number, being prime, must be .

This leaves two primes whose sum of their squares equals .

If and , then . So at least one of is – say . If , then , So, can be only , , or . Checking these values, and give no solution, gives , and gives .

So are or . Finally, condition (1) is fulfilled only by .
Final answer
a=2, b=43, c=3, d=41

Techniques

Prime numbersTechniques: modulo, size analysis, order analysis, inequalities