Skip to main content
OlympiadHQ

Browse · MathNet

Print

74th Romanian Mathematical Olympiad

Romania number theory

Problem

Determine all positive integers , with , such that the equation has a unique solution in the ring .
Solution
We shall denote by the set of all positive integers , with , such that the equation (1) has a unique solution in the ring . We will show that .

In the ring , the equation (1) can be equivalently written as with the unique solution . Hence, .

Since is an odd number for any integer , the equation has no solutions in the ring for any even integer , so that .

Let be arbitrary, and the unique solution of the equation (1). For the element we have then so is also a solution of the equation (1). Because of the uniqueness condition, we deduce that , or, equivalently, . Since is odd, is invertible, and we obtain that .

The fact that is a solution of the equation can be written equivalently, considering the fact that is odd, as: Since , we conclude that . Hence, .

Then implies that .
Final answer
11

Techniques

Inverses mod nGreatest common divisors (gcd)