Skip to main content
OlympiadHQ

Browse · MathNet

Print

Japan Mathematical Olympiad Initial Round

Japan algebra

Problem

Let be a positive integer of digits, with the property that all of its digits are non-zero. For a positive integer , consider , where we define for any real number , to be the largest integer less than or equal to . Determine the largest possible number of digits which are for , where .
Solution
Let be the maximum number we seek. First we show that must hold. Let be positive integers satisfying the conditions of the problem, and let be the number of digits of (so, ). Let us represent as where , for , , and . Then from and it follows that we have . We can also show that the following lemma holds:

Lemma: holds for every , and holds also.

Proof of Lemma: Suppose for some , is satisfied. Then, if we let we see that is a positive integer and satisfies . We see that with and as above we can write . But then, since we have we have to conclude that the -th digit of is . But this contradicts the assumption that all the digits of are not zero, and therefore, must be satisfied for every .

Next assume that is satisfied. If we let then we see that is a positive integer and we can write . But then we have which implies that the -th digit of is , contradicting the assumption of the problem. Therefore, we must have , and this completes the proof of Lemma.

Going back to the proof of the claim that , we note that the number of digits in equals . By summing the corresponding sides of the following inequalities shown in Lemma above we obtain , which yields . Consequently, we get where we used the fact . This shows our claim that .

Finally, we show that by exhibiting a particular choice of and , satisfying the conditions of the problem, for which . For this purpose, consider Then, we see that and, therefore the number of its -digits is . Thus, we conclude that is the desired answer to the problem.
Final answer
939

Techniques

IntegersFloors and ceilingsQM-AM-GM-HM / Power MeanOther