返回题库

AIME 1990 · 第 13 题

AIME 1990 — Problem 13

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Let T={9k:k is an integer,0k4000}T = \{9^k : k ~ \text{is an integer}, 0 \le k \le 4000\}. Given that 940009^{4000}_{} has 3817 digits and that its first (leftmost) digit is 9, how many elements of TT_{}^{} have 9 as their leftmost digit?

解析

Solution 1

Lemma: For all positive integers n, there's exactly one n-digit power of 9 that does not have a left-most digit 9

(Not-so-rigorous) Proof: One can prove by contradiction that there must be at least either one or two n-digit power of 9 for all n. If there is exactly 1 n-digit power of 9, then such a number mm cannot begin with 9 since that would result in m9\frac{m}{9} also being an n-digits, hence a contradiction. Therefore, this single n-digit power of 9 must not begin with 9. In the case that there are 2 n-digit powers of 9, we have already discovered that one of them must begin with 9, let it be 9k=m9^k = m. The integer 9k1=m99^{k - 1} = \frac{m}{9} must then be an n-digit number that begins with 11.

Using this lemma, out of the 4001 powers of 9 in T, exactly 3817 must not begin with 9 (one for each digit). Therefore, the answer is 40013817=1844001 - 3817 = \boxed{184} numbers have 9 as their leftmost digits.

~Edited by Mathandski (with help from a math god)

~Slightly edited by giratina3

Solution 2

Let's divide all elements of TT into sections. Each section ranges from 10i10^{i} to 10i+110^{i+1} And, each section must have 1 or 2 elements. So, let's consider both cases.

If a section has 1 element, we claim that the number doesn't have 9 as the leftmost digit. Let this element be 9k9^{k} and the section ranges from 10i10^{i} to 10i+110^{i+1}. To the contrary, let's assume the number (9k9^{k}) does have 9 as the leftmost digit. Thus, 910i9k9 \cdot 10^i \leq 9^k. But, if you divide both sides by 9, you get 10i9k110^i \leq 9^{k-1}, and because 9k1<9k<10i+19^{k-1} < 9^{k} < 10^{i+1}, so we have another number (9k19^{k-1}) in the same section (10i9k1<10i+110^i \leq 9^{k-1} < 10^{i+1}). Which is a contradiction to our assumption that the section only has 1 element. So in this case, the number doesn't have 9 as the leftmost digit.

If a section has 2 elements, we claim one has to have a 9 as the leftmost digit, one doesn't. Let the elements be 9k9^{k} and 9k+19^{k+1}, and the section ranges from 10i10^{i} to 10i+110^{i+1}. So We know 10i9k<9k+1<10i+110^{i} \leq 9^{k} < 9^{k+1} < 10^{i+1}. From 10i9k10^{i} \leq 9^{k}, we know 910i9k+19 \cdot 10^{i} \leq 9^{k+1}, and since 9k+1<10i+19^{k+1} < 10^{i+1}. The number(9k+19^{k+1})'s leftmost digit must be 9, and the other number(9k9^{k})'s leftmost digit is 1.

There are total 4001 elements in TT and 3817 sections that have 1 or 2 elements. And, no matter how many elements a section has, each section contains exactly one element that doesn't begin with 9. We can take 4001 elements, subtract 3817 elements that don't have 9 as the leftmost digit, and get 184\boxed{184} numbers that have 9 as the leftmost digit.

- AlexLikeMath

Solution 3

We know that 99 is very close to 1010. But we also know that for all kZ+k \in \mathbb{Z}^+, 10k10^k has k+1k+1 digits. Hence 10400010^{4000} has 40014001 digits. Now, notice that if a power of 9n9^n has 99 as the leftmost digit, then 9n19^{n-1} has 11 as the leftmost digit and will preserve the same number of digits (just due to division). Hence we find that consecutive powers of 99 are "supposed" to increase by one digit, however, when consecutive powers of 99 have leading digit 11 then leading digit 99 they "lose" this one digit. Therefore, it suffices to find the number of times that 9k9^k has "lost" a digit since the number of times that this occurs shows us the number of pairs where the leading digit of 9k9^k is 11 and the leading digit of 9k+19^{k+1} is 99. Hence, we find that 940009^{4000} is "supposed" to have 40014001 digits, but only has 38173817 digits. Thus, the number of times 9k9^k has lost a digit is 40013817=1844001-3817 = 184. Thus, 184\boxed{184} elements of TT have 99 as their leading digit.

~qwertysri987