AMC 10 · 2004 · #2

Grade 3 arithmetic
digit-countingcomplementary-counting complementary-countingsystematic-enumeration ↑ Prerequisites: place-value
📏 Short solution 💡 2 insights
📘 View easy version →
Problem
Among the two-digit positive integers, count how many have the digit 7 in the tens place, the ones place, or both.

Pick an answer.

(A)
10
(B)
18
(C)
19
(D)
20
(E)
30

AMC 10 2004 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

How to solve
Strategy Change Focus / Count the Complement

"At least one 7" is the classic trigger for Tool #16 (Count the Complement). Chasing the numbers that contain a 7 directly means adding the ten numbers 70–79 to the nine numbers 17,27,…,97, but 77 sits in both lists and is easy to double-count. Flipping the question is cleaner: count every two-digit number, then subtract the ones with no 7 at all, because a number either has a 7 or it does not. Tool #2 (Make a Systematic List) supports this by organizing the digit choices — how many tens digits and how many ones digits avoid 7 — so the no-7 group is counted without missing or repeating any case.

1STEP 1

Count every two-digit number

Look at the whole pool first — the two-digit numbers run from 10 to 99, so there are 90 of them.

99-10+1 = 90
2STEP 2

Count the numbers with no 7

With no 7 allowed, the tens digit has 8 choices and the ones digit has 9, giving 72 numbers.

8 × 9 = 72
3STEP 3

Subtract to get the sevens

Take the no-7 group out of the whole pool: 90 minus 72 leaves 18, which is choice (B).

90 - 72 = 18 → (B)
Answer
18
The answer 18 should be a bit under the count you would guess from adding 70–79 (ten numbers) to the numbers ending in 7 (nine numbers), and indeed 18 is one less than that raw 19 — exactly the correction for counting 77 twice. That rules out (C) 19, which is the classic double-count trap, and (D) 20. It also comfortably exceeds (A) 10, since numbers ending in 7 add several more beyond the 70s. So 18 sits right where it should.
💡Key takeaway

When a problem asks for "at least one," count everything and subtract the cases that have none — it dodges the double-counting trap.

  • Count every two-digit number
  • Count the numbers with no 7
  • Subtract to get the sevens