Difference between revisions of "2011 AMC 12B Problems/Problem 17"

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, <math>h_{1}(x)\text{ = }10x - 1</math>
+
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 00:15, 26 May 2011

$\text{Let }f(x)\text{ = }10^{10x}, g(x)\text{ = }\text{log}_{10}\left(\frac{x}{10}\right), h_{1}(x)\text{ = }g(f(x)),\text{and }h_{n}(x)\text{ = }h_{1}(h_{n-1}(x))\\\text{\\for integers }n\ge 2.\text{What is the sum of the digits of }h_{2011}(1)?$


$g(x)\text{ = }\text{log}_{10}\left(\frac{x}{10}\right)\text{ = }\text{log}_{10}\left({x}\right)\text{ - 1}$

$h_{1}(x)\text{ = }g(f(x))\text{ = }g(10^{10x})\text{ = }\text{log}_{10}\left({10^{10x}}\right){ - 1 = 10x - 1}$

Proof by induction that $h_{n}(x)\text{ = }10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})$:

For $\text{n = 1, }h_{1}(x)\text{ = }10x - 1$

Assume $h_{n}(x)\text{ = }10^n x - (1 + 10 + 10^2 + ... + 10^{n-1})$ is true for n:

$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 - (10 + 10^2 + ... + 10^{n}) - 1 \\= 10^{n+1} x - (1 + 10 + 10^2 + ... + 10^{(n+1)-1})$

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.

$h_{2011}(1) = 10^{2011}\times 1{ - }(1 + 10 + 10^2 + ... + 10^{2010})$, 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)