Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

What is the greatest common divisor of and ?
Solution
Let and . Then, . By the Euclidean algorithm, it follows that Since divides , by the difference of odd powers factorization, it follows that is divisible by . Thus, the greatest common divisor of and is .
Final answer
511