Skip to main content
OlympiadHQ

Browse · MathNet

Print

Estonian Math Competitions

Estonia number theory

Problem

For any non-negative integer , denote by the first digit of the number . Let be a positive integer. Prove that there exists a non-zero digit that occurs in the tuple less than times.
Solution
The claim obviously holds for , whence assume in the following that . Let be the minimal number of occurrences of a non-zero digit in the tuple . Then the total number of occurrences of digits , , , , is at least . As each digit , , , , that is not the last digit of the tuple is followed by a digit , and also , the number of occurrences of digit is at least . Each digit that is not the last digit of the tuple is followed by either or . Thus if the last digit is not then the total number of occurrences of and is at least . But if the last digit of the tuple is then the first of the tuple was previously not counted, whence the total number of occurrences of digits and is at least in this case, too. Therefore, the number of occurrences of the only digit not counted yet, the digit , is at most . As each occurrence of or follows a digit , the total number of occurrences of and is also at most . Hence , implying .

To prove that , suppose that , i.e., . This implies that, in the argument above, every inequality must hold as an equality, i.e., each of the digits , , , , occurs exactly times and the digit occurs exactly times. As , the digit occurs more than once in the tuple and more than twice in the tuple . Hence .

We show that each segment consisting of exactly consecutive terms of the tuple contains at least occurrences of the digit . Indeed, the last term of the tuple is exactly times the first term, whence the last term contains at least more digits than the first term. As the first power of containing a certain number of digits definitely starts with , the tuple contains at least terms starting with . If also starts with then there are at least such terms altogether; but if starts with a larger digit then the last term contains at least more digits than , implying that there are still terms that start with .

It remains to notice that the tuple contains the digit at least times because and , implying that the number has at least digits. As every segment contains the digit at least times, the digit occurs in the tuple more than times. The contradiction shows that .

Techniques

OtherCounting two waysColoring schemes, extremal argumentsIntegers