Game on GCD and LCM
Source: 2021 China TST, Test 1, Day 2 P6
March 17, 2021
number theorygreatest common divisorleast common multiple
Problem Statement
Given positive integer and pairwise distinct primes Initially, there are numbers written on the blackboard: Alice and Bob play a game by making a move by turns, with Alice going first. In Alice's round, she erases two numbers (not necessarily different) and write . In Bob's round, he erases two numbers (not necessarily different) and write . The game ends when only one number remains on the blackboard.Determine the minimal possible such that Alice could guarantee the remaining number no greater than , regardless of Bob's move.