Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

What is the smallest positive integer that can be written in the form , where and are integers?
Solution
Notice that the question is essentially asking us for the greatest common divisor of and : any number that can be written in the given form must be divisible by the greatest common divisor of and . Conversely, we can find the values of and through repeated applications of the Euclidean algorithm. In particular, Notice that as desired.
Final answer
2