Browse · MathNet
PrintTeam Selection Test for IMO 2019
Turkey 2019 number theory
Problem
Let be a positive integer with digits and be non-negative integers satisfying . We say that a positive integer number is a sub-divisor of , if it divides the number obtained by erasing the first and last digits of . (For example, sub-divisors of are , , , , , , , , and .) For any positive integer , let be the set of positive integers for which is not a sub-divisor. Find all positive integers for which the set is finite.
Solution
Answer: All positive integers which are coprime with . If a number is divisible by either or then it can not divide any number of the form . Therefore, for all numbers which are not coprime with the set is not finite.
Now let be a positive integer which is coprime with and . Let us show that any number is not in the set . Consider the numbers , , , , . Since there are and , such that . Therefore, . Since is coprime with we get and hence is not in . Thus, all numbers in have at most digits and consequently is finite.
Now let be a positive integer which is coprime with and . Let us show that any number is not in the set . Consider the numbers , , , , . Since there are and , such that . Therefore, . Since is coprime with we get and hence is not in . Thus, all numbers in have at most digits and consequently is finite.
Final answer
All positive integers coprime with 10.
Techniques
Greatest common divisors (gcd)Inverses mod nPigeonhole principle