Skip to main content
OlympiadHQ

Browse · MathNet

Print

Baltic Way 2019

Baltic Way 2019 number theory

Problem

For a positive integer it is known that the number also is a positive integer. Prove that the number also is a positive integer.
Solution
Let's denote because if the number is integer then it is odd. We have to prove that is an integer, that is, that is a perfect square.

By squaring both sides of (Eq-6) we get that or . As and are coprime then we have two options: and or and for some positive integers and . But the second option is not possible as that would mean that .

Techniques

Greatest common divisors (gcd)Techniques: modulo, size analysis, order analysis, inequalities