AMC 10 · 2015 · #18
Grade 7 arithmeticPick an answer.
AMC 10 2015 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.
Listing all 1000 numbers would be hopeless, so instead we count by **digit positions** (Tool #2): a qualifying number is just a string of hex digits where each position is restricted to 0–9. To set the size of that string we first solve the easier sub-question 'what is 1000 in hex?' (Tool #9), which tells us we only ever deal with 3 hex positions. We break the count into one subproblem per position (Tool #7), and the only delicate part — how large the leading (256's) digit may be — is settled with a boundary check (Tool #14): 4 × 256 = 1024 already passes 1000. Multiplying the per-position choices gives the count directly, no exhausting list needed.
Convert 1000 to hexadecimal
Repeated division by 16 converts 1000 to 3E8₁₆, so every number 1–1000 has at most three hex digit positions.
Repeated division by the base peels off one hex digit at a time, from the smallest place up.
4.NBT.B.6Solve An Easier Related ProblemRestate the condition per digit
Writing the number as d₂d₁d₀, the numeric-only condition just restricts each digit to 0–9, never A–F.
A positional numeral is just digits times place values, so restricting the symbols is the same as restricting each position's choices.
4.NBT.A.2Identify SubproblemsBound the leading digit
Checking the extreme case shows d₂ = 4 already exceeds 1000, so d₂ can only be 0–3 (4 choices).
Checking only the extreme leading value tells you exactly where the cutoff lands, so no middle cases need testing.
4.NBT.B.5Evaluate Finite DifferencesMultiply the per-digit choices
Multiplying the per-digit choices gives 4 × 10 × 10 = 400 strings; dropping the all-zero one leaves n = 399.
When each position is chosen independently, the total number of combinations is the product of the choices.
7.SP.C.8Make A Systematic ListAdd the digits of n
Summing the digits of 399 gives 3 + 9 + 9 = 21, which is choice (E).
Reading the question to the end keeps you from stopping at 399 instead of its digit sum.
2.NBT.B.5Make A Systematic ListCount digit slots instead of listing numbers: 4 ways for the first hex digit, 10 for each of the next two, multiply, then drop zero.
- Convert 1000 to hexadecimal
- Restate the condition per digit
- Bound the leading digit
- Multiply the per-digit choices
- Add the digits of n