Two positive integers, and , have the sum of their greatest common divisor and least common multiple equal to . Prove that in this case, one of the numbers and is divisible by the other.
Problem 1010
Official solution
I. solution. The product of the greatest common divisor and the least common multiple of two numbers is equal to the product of the two numbers:
Let's denote the greatest common divisor of and by . According to the problem, . Using the mentioned relationship, we get the following equation:
After rearranging, we can factorize it as follows:
If , that is, the greatest common divisor is equal to , then is a multiple of . If , then is a multiple of . This proves the statement of the problem.
II. solution. Let and , where and are coprime. Thus, and . The equation is: . Clearly, , so we can divide by it:
from which or follows. In both cases, the greatest common divisor is equal to one of the given numbers, and in this case, this number is a divisor of the other.