Difference between revisions of "2011 AMC 12B Problems/Problem 17"
ThatDonGuy (talk | contribs) |
ThatDonGuy (talk | contribs) |
||
Line 8: | Line 8: | ||
Proof by induction that <math>h_{n}(x)\text{ = }10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})</math>: | Proof by induction that <math>h_{n}(x)\text{ = }10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})</math>: | ||
− | For n = 1, | + | For <math>\text{n = 1, }h_{1}(x)\text{ = }10x - 1</math> |
Assume <math>h_{n}(x)\text{ = }10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})</math> is true for n: | Assume <math>h_{n}(x)\text{ = }10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})</math> is true for n: | ||
<math>h_{n+1}(x)\text{ = } h_{1}(h_{n}(x))\text{ = }10 h_{n}(x) - 1\text{ = 10 }(10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})) - 1 | <math>h_{n+1}(x)\text{ = } h_{1}(h_{n}(x))\text{ = }10 h_{n}(x) - 1\text{ = 10 }(10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})) - 1 | ||
− | \\= 10^{n+1} x - (1 + 10 + 10^2 + ... + 10^{n-1}) - 1</math> | + | \\= 10^{n+1} x - (10 + 10^2 + ... + 10^{n}) - 1 |
+ | \\= 10^{n+1} x - (1 + 10 + 10^2 + ... + 10^{(n+1)-1})</math> | ||
+ | |||
+ | Therefore, if it is true for n, then it is true for n+1; since it is also true for n = 1, it is true for all positive integers n. | ||
+ | |||
+ | <math>h_{2011}(1) = 10^{2011}\times 1{ - }(1 + 10 + 10^2 + ... + 10^{2010})</math>, which is the 2011-digit number 8888...8889 | ||
+ | |||
+ | The sum of the digits is 8 times 2010 plus 9, or <math>\boxed{16089\ \(\textbf{(B)}}</math> |
Revision as of 23:15, 25 May 2011
Proof by induction that :
For
Assume is true for n:
Therefore, if it is true for n, then it is true for n+1; since it is also true for n = 1, it is true for all positive integers n.
, which is the 2011-digit number 8888...8889
The sum of the digits is 8 times 2010 plus 9, or $\boxed{16089\ \(\textbf{(B)}}$ (Error compiling LaTeX. Unknown error_msg)