MathDB
2020 PUMaC Team 3

Source:

January 1, 2022
number theoryleast common multiplegreatest common divisor

Problem Statement

Alice and Bob are playing a guessing game. Bob is thinking of a number n of the form 2a3b2^a3^b, where a and b are positive integers between 1 1 and 20202020, inclusive. Each turn, Alice guess a number m, and Bob will tell her either gcd(m,n)\gcd (m, n) or lcm(m,n)lcm (m, n) (letting her know that he is saying that gcdgcd or lcmlcm), as well as whether any of the respective powers match up in their prime factorization. In particular, if m=nm = n, Bob will let Alice know this, and the game is over. Determine the smallest number kk so that Alice is always able to find nn within kk guesses, regardless of Bob’s number or choice of revealing either the lcmlcm, or the gcdgcd .