Difference between revisions of "2003 USAMO Problems/Problem 1"
m |
|||
Line 7: | Line 7: | ||
We proceed by induction. For our base case, <math> \displaystyle n=1 </math>, we have the number 5. Now, suppose that there exists some number <math> \displaystyle a \cdot 5^{n-1} </math> with <math> \displaystyle n-1 </math> digits, all of which are odd. It is then sufficient to prove that there exists an odd digit <math> \displaystyle k </math> such that <math> k\cdot 10^{n-1} + a \cdot 5^{n-1} = 5^{n-1}(k \cdot 2^{n-1} + a) </math> is divisible by <math> \displaystyle 5^n </math>. This is equivalent to proving that there exists an odd digit <math> \displaystyle k </math> such that <math> k \cdot 2^{n-1} + a </math> is divisible by 5, which is true when <math> k \equiv -3^{n-1}a \pmod{5} </math>. Since there is an odd digit in each of the residue classes mod 5, <math> \displaystyle k </math> exists and the induction is complete. | We proceed by induction. For our base case, <math> \displaystyle n=1 </math>, we have the number 5. Now, suppose that there exists some number <math> \displaystyle a \cdot 5^{n-1} </math> with <math> \displaystyle n-1 </math> digits, all of which are odd. It is then sufficient to prove that there exists an odd digit <math> \displaystyle k </math> such that <math> k\cdot 10^{n-1} + a \cdot 5^{n-1} = 5^{n-1}(k \cdot 2^{n-1} + a) </math> is divisible by <math> \displaystyle 5^n </math>. This is equivalent to proving that there exists an odd digit <math> \displaystyle k </math> such that <math> k \cdot 2^{n-1} + a </math> is divisible by 5, which is true when <math> k \equiv -3^{n-1}a \pmod{5} </math>. Since there is an odd digit in each of the residue classes mod 5, <math> \displaystyle k </math> exists and the induction is complete. | ||
+ | |||
+ | |||
+ | {{alternate solutions}} | ||
== Resources == | == Resources == |
Revision as of 06:34, 22 April 2007
Problem
(Titu Andreescu) Prove that for every positive integer there exists an -digit number divisible by all of whose digits are odd.
Solution
We proceed by induction. For our base case, , we have the number 5. Now, suppose that there exists some number with digits, all of which are odd. It is then sufficient to prove that there exists an odd digit such that is divisible by . This is equivalent to proving that there exists an odd digit such that is divisible by 5, which is true when . Since there is an odd digit in each of the residue classes mod 5, exists and the induction is complete.
Alternate solutions are always welcome. If you have a different, elegant solution to this problem, please add it to this page.