Skip to main content
OlympiadHQ

Browse · MathNet

Print

China National Team Selection Test

China counting and probability

Problem

Let be pairwise distinct positive integers, satisfying:

(1) In the decimal representation of each , each digit belongs to the set ;

(2) For any , cannot be obtained from by adding some digits on the right.

Find the least possible value of , where denotes the sum of all digits of in decimal representation.
Solution
Given two positive integers in decimal representation, we say contains if can be obtained from by adding some digits on the right. We first prove a lemma.

Lemma Let be pairwise distinct positive integers with digit 1 or 2. If none contains another, then the number of 's with is at most , where is an arbitrary positive integer and is a Fibonacci number satisfying ().

Proof of lemma. We induct on . It is clear for (when , and cannot both appear). Suppose that the lemma is true for all positive integers less than (); we shall prove that it is also true for . Suppose that without loss of generality are all the numbers with the sum of digits , where start with 1 and start with 2. If one of is 1, then , otherwise by deleting the first digit of we obtain positive integers with none containing another and the sum of digits , and thus we again have by the inductive hypothesis. Analogously, we have . And therefore , i.e. the lemma is also true for . The proof of the lemma is completed.

Going back to the original problem, we consider a more general question. Replacing 26 by , denote the least possible value of by . Fix , and let be a set of numbers satisfying the conditions in the problem which attains the minimum . Without loss of generality, assume that and is maximum among all these numbers attaining the maximum digital sum. Since , contains at least two digits.

If the last digit of is 1, replace by , which is not one of , otherwise would contain some . Notice that again satisfy the conditions in the problem, for if contains for some , then and , a contradiction. Now a contradiction to the definition of . Thus, the last digit of is 2.

If is not one of , replace by , and these numbers again satisfy the conditions in the problem, for if contains for some , then must be , ; however, is a contradiction to the choice of . Now a contradiction to the definition of . Thus, appears in .

Without loss of generality, assume that . Consider ; since for , these are pairwise distinct numbers. There is no containment among , and does not contain any of , otherwise would contain that number. If one of contains , say , since , is obtained by adding 1, 2 or 11 after . Adding 1 or 2 yields , and we must have . Now and , a contradiction to the choice of . So , satisfy the conditions in the problem, and therefore the sum of their digits is at least . Thus, i.e. Let be such that . By the lemma, there are at most of less than or equal to , so , and It is easy to see that , , and hence i.e. .

On the other hand, by the property of Fibonacci numbers, there are exactly 8 numbers consisting of digits 1 and 2, with digital sum 5, denoted by , and there are exactly 13 such numbers with digital sum 6, denoted by . Add a digit 2 after each of , denoting these new numbers by . Add a digit 1 (resp. digit 2) to each of , denoting these new numbers by (resp. ). Now consider . These are pairwise distinct numbers consisting of digits 1 and 2, with total digital sum . And there is none containing another. In fact, if contains , since their digital sum is either 6, 7 or 8, and a number with digital sum 8 ends up with 2, it follows that has exactly one more digit than . However, deleting the last digit of and yields , and deleting the last digit of yields , none of which is in this set of 26 numbers.

We conclude that the least possible value of is 179.
Final answer
179

Techniques

Recursion, bijectionColoring schemes, extremal arguments