Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory intermediate

Problem

What is the greatest common divisor of and ?
Solution
By the Euclidean algorithm, Since the sum of the digits of is , which is not divisible by , it suffices to check whether or not is divisible by . We can find that it is by long division or noting that divides into using the sum of cubes factorization.
Final answer
13