2015 AMC 10A Problems/Problem 18
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 1000 is 3E8 in hexadecimal. Thus, there are 399 valid , corresponding to those 399 positive integers less than 1000 with hexadecimal representation less than 1000. (Notice that 399 < 3E8 in hexadecimal.) Our answer is .