2004 AMC 10B Problem 2

Below is the professionally curated solution for Problem 2 of the 2004 AMC 10B, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2004 AMC 10B 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:digitsinclusion-exclusion

Difficulty rating: 920

2.

How many two-digit positive integers have at least one 77 as a digit?

1010

1818

1919

2020

3030

Solution:

The numbers 7070 through 7979 give 1010 with a 77 in the tens place.

The numbers 17,27,,9717, 27, \ldots, 97 give 99 with a 77 in the units place.

Since 7777 is counted twice, the total is 10+91=18.10 + 9 - 1 = 18.

Thus, the correct answer is B.

Problem 2 in Other Years