Browse · MathNet
PrintArgentine National Olympiad 2016
Argentina 2016 number theory
Problem
Let be a natural number. For each pair of relatively prime natural numbers let be the greatest common divisor of and . Find the maximum value of .
Solution
The maximum value of equals .
Let and be relatively prime. Since divides and , it also divides the numbers and . Hence divides and . Therefore divides the greatest common divisor of and , which equals , because and are relatively prime.
Now we show that is impossible. Otherwise , , where and are relatively prime. These equalities form a linear system with unknowns and whose unique solution is , . However, the obtained values of and are even, so they are not relatively prime.
In conclusion, is a proper divisor of , hence . To see that is attainable, set , . Then , . So , as and are relatively prime. Thus is the maximum value of .
Let and be relatively prime. Since divides and , it also divides the numbers and . Hence divides and . Therefore divides the greatest common divisor of and , which equals , because and are relatively prime.
Now we show that is impossible. Otherwise , , where and are relatively prime. These equalities form a linear system with unknowns and whose unique solution is , . However, the obtained values of and are even, so they are not relatively prime.
In conclusion, is a proper divisor of , hence . To see that is attainable, set , . Then , . So , as and are relatively prime. Thus is the maximum value of .
Final answer
n^2 - 1
Techniques
Greatest common divisors (gcd)