Skip to main content

AMC 12 Mock Exam 10 Problem 4

Problem 4 of 25

The raffle tickets at a school fair carry the three-digit numbers 100100 through 999999. A ticket wins a prize if its number is odd and contains at least one digit 22 and at least one digit 77. For example, 727727 and 271271 win, but 772772 (even) and 717717 (no 22) do not. How many tickets win a prize?

Answer choices

Show solution

Solution

An odd number does not end in 22, so consider the units digit.

Units digit 77. The first two digits form one of the 9090 strings ab‾\overline{ab} with a≠0a\ne0, and they must contain a 22. The strings with no 22 number 8⋅9=728\cdot9=72, so 90−72=1890-72=18 strings work.

Units digit 11, 33, 55, or 99. The first two digits must contain both a 22 and a 77, so they are 2727 or 7272: 4⋅2=84\cdot2=8 numbers.

The total is 18+8=2618+8=\boxed{26}. (Ignoring the condition “odd” gives 5252.)

Tagged: counting integers by which digits they contain