Large and small number
Source: 2022 Taiwan TST Round 2 Independent Study 2-N
April 8, 2022
number theory
Problem Statement
For any two coprime positive integers , define to be the remainder of divided by for . The number is called a large number (resp. small number) when is the maximum (resp. the minimum) among the numbers . Note that is both large and small. Let be two fixed positive integers. Given that there are exactly large numbers and small numbers among , find the least possible number for .Proposed by usjl