Difference between revisions of "2015 AMC 10A Problems/Problem 18"
m (→Solution) |
|||
Line 5: | Line 5: | ||
==Solution== | ==Solution== | ||
− | Notice that 1000 is 3E8 in hexadecimal. The first digit could be 0, 1, 2, or 3 and the second two could be any digit 0-9 | + | Notice that <math>1000</math> is <math>3E8</math> in hexadecimal. We will proceed by constructing numbers that consist of only numeric digits in hexadecimal. |
+ | |||
+ | The first digit could be <math>0,</math> <math>1,</math> <math>2,</math> or <math>3,</math> and the second two could be any digit <math>0 - 9</math>, giving <math>4 \cdot 10 \cdot 10 = 400</math> combinations. However, this includes <math>000,</math> so this number must be diminished by <math>1.</math> Therefore, there are <math>399</math> valid <math>n</math> corresponding to those <math>399</math> positive integers less than <math>1000</math> that consist of only numeric digits. (Notice that <math>399 < 3E8</math> in hexadecimal.) Finally, our answer is <math>3 + 9 + 9 = \boxed{\textbf{(E) } 21}</math> | ||
==See Also== | ==See Also== | ||
{{AMC10 box|year=2015|ab=A|num-b=17|num-a=19}} | {{AMC10 box|year=2015|ab=A|num-b=17|num-a=19}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Revision as of 20:26, 5 February 2015
Problem 18
Hexadecimal (base-16) numbers are written using numeric digits through as well as the letters through to represent through . Among the first positive integers, there are whose hexadecimal representation contains only numeric digits. What is the sum of the digits of ?
Solution
Notice that is in hexadecimal. We will proceed by constructing numbers that consist of only numeric digits in hexadecimal.
The first digit could be or and the second two could be any digit , giving combinations. However, this includes so this number must be diminished by Therefore, there are valid corresponding to those positive integers less than that consist of only numeric digits. (Notice that in hexadecimal.) Finally, our answer is
See Also
2015 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 17 |
Followed by Problem 19 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
All AMC 10 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.