Number theoryDifficulty 9.0Prove itTeam Selection Test for IMO 2019 · Turkey · 2019
Let n be a positive integer with b digits and l,r be non-negative integers satisfying l+r<b. We say that a positive integer number is a sub-divisor of n, if it divides the number obtained by erasing the first l and last r digits of n. (For example, sub-divisors of 143 are 1, 2, 3, 4, 7, 11, 13, 14, 43 and 143.) For any positive integer d, let Ad be the set of positive integers for which d is not a sub-divisor. Find all positive integers d for which the set Ad is finite.
This one wants a proof. Work it on paper, then read the official solution and mark
yourself. Be honest about it: the record is only any use to you if it is.
Official solution
Answer: All positive integers which are coprime with 10. If a number is divisible by either 2 or 5 then it can not divide any number of the form 11…1. Therefore, for all numbers which are not coprime with 10 the set Ad is not finite.
Now let d be a positive integer which is coprime with 10 and b>d. Let us show that any number abab−1…a1 is not in the set Ad. Consider the numbers a1, a2a1, a3a2a1, …, abab−1…a1(modd). Since d>b there are i and j, i>j such that aiai−1…a1=ajaj−1…a1(modd). Therefore, aiai−1…aj−1⋅10j=0(modd). Since d is coprime with 10 we get d∣aiai−1…aj−1 and hence abab−1…a1 is not in Ad. Thus, all numbers in Ad have at most d digits and consequently Ad is finite.
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.