gcd+lcm operation on a blackboard
Source: MEMO 2022 I4
September 2, 2022
number theory
Problem Statement
Initially, two distinct positive integers and are written on a blackboard. At each step, Andrea picks two distinct numbers and on the blackboard and writes the number on the blackboard as well. Let be a positive integer. Prove that, regardless of the values of and , Andrea can perform a finite number of steps such that a multiple of appears on the blackboard.