Browse · MathNet
PrintMMO2025 Round 4
Mongolia 2025 number theory
Problem
Let be a given integer. Find the least number of digits in the number formed with only digits and such that the number is divisible by .
Solution
Answer: Let be a multiple of such that for every , where denotes . Since it is clear that . Suppose that . By setting we get It follows from that and so we must have . But this equality is impossible. Indeed, by , we have which implies since . This contradicts to . Thus and so, for our purpose, it suffices to show that is divisible by :
Final answer
2n + 1
Techniques
Modular ArithmeticOther