Skip to content / Đến nội dung
ThichHocToan.com

MathNet 2022-part-03 — 197 problems (EN–VI) Question 80

Math Olympiad Vault · MathNet 2022-part-03 — 197 problems (EN–VI)

Question 80

Initially, two positive integers $a$ and $b$ with $a \neq b$ are written on a blackboard. At each step, Andrea picks two numbers $x$ and $y$ on the blackboard with $x \neq y$ and writes the number
$$
\operatorname{gcd}(x, y)+\operatorname{lcm}(x, y)
$$
on the blackboard as well. Let $n$ be a positive integer. Prove that, regardless of the values of $a$ and $b$, Andrea can perform a finite number of steps such that a multiple of $n$ appears on the blackboard.

Remark. If $x$ and $y$ are two positive integers, then $\operatorname{gcd}(x, y)$ denotes their greatest common divisor and $\operatorname{lcm}(x, y)$ their least common multiple.