AMC 12 Mock Exam 10 Problem 4
Problem 4 of 25
The raffle tickets at a school fair carry the three-digit numbers through . A ticket wins a prize if its number is odd and contains at least one digit and at least one digit . For example, and win, but (even) and (no ) do not. How many tickets win a prize?
Answer choices
Show solution
Solution
An odd number does not end in , so consider the units digit.
Units digit . The first two digits form one of the strings with , and they must contain a . The strings with no number , so strings work.
Units digit , , , or . The first two digits must contain both a and a , so they are or : numbers.
The total is . (Ignoring the condition “odd” gives .)
Tagged: counting integers by which digits they contain