MathDB
gcd+lcm operation on a blackboard

Source: MEMO 2022 I4

September 2, 2022
number theory

Problem Statement

Initially, two distinct positive integers aa and bb are written on a blackboard. At each step, Andrea picks two distinct numbers xx and yy on the blackboard and writes the number gcd(x,y)+lcm(x,y)gcd(x, y) + lcm(x, y) on the blackboard as well. Let nn be a positive integer. Prove that, regardless of the values of aa and bb, Andrea can perform a finite number of steps such that a multiple of nn appears on the blackboard.