Browse · MathNet
PrintKanada 2011
Canada 2011 number theory
Problem
Show that there exists a positive integer such that for all integers , there exists a contiguous substring of the decimal expansion of that is divisible by . (For instance, if , then , , and are all contiguous substrings of . Note that is divisible by .)
Solution
We claim that if the decimal expansion of has at least digits, then contains the required substring.
Let the decimal expansion of be . For , let be the number with decimal expansion . Then by the pigeonhole principle, for some .
It follows that divides . Here is the substring . Since and are relatively prime, it follows that divides .
Let the decimal expansion of be . For , let be the number with decimal expansion . Then by the pigeonhole principle, for some .
It follows that divides . Here is the substring . Since and are relatively prime, it follows that divides .
Techniques
Modular ArithmeticPigeonhole principle