2015 AMC 10A Problem 18

Below is the professionally curated solution for Problem 18 of the 2015 AMC 10A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2015 AMC 10A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:number basedigitsbasic counting

Difficulty rating: 1660

18.

Hexadecimal (base-16) numbers are written using numeric digits 00 through 99 as well as the letters AA through FF to represent 1010 through 15.15. Among the first 10001000 positive integers, there are nn whose hexadecimal representation contains only numeric digits. What is the sum of the digits of n?n?

1717

1818

1919

2020

2121

Solution:

Note that 10001000 converted to hexadecimal is 3E8.3E8. Now we need to count the number of numbers that have only numerical digits in their hexadecimal.

The first digit can be 0,1,20, 1, 2 or 3.3. The second and third digits can be any number from 09.0 - 9. This gives us 41010=400 4 \cdot 10 \cdot 10 = 400 numbers. This, however, includes 0,0, which is not a positive integer so we have to subtract one.

The sum of the digits in 399399 is 21.21.

Thus, E is the correct answer.

Problem 18 in Other Years