AMC 10 Counting: Use the Complement for Digit Problems

A counting question asking for at least one special feature can become simpler when you count outcomes with none of that feature. For AMC 10 preparation, the key is to define the full set before subtracting.

The following problem is original practice, not a released AMC question.

Need help choosing a next step? Scan the contact QR code below or contact Hanlin on WeChat. Send AMC10 COMPLEMENT and tell us your school year and question.

Set up a precise digit problem

Form three-digit numbers using only the digits 1, 2, 3, 4 and 5. Repetition is allowed. How many contain at least one digit 3?

There are 5 choices for each of three positions, so the full set contains 5 x 5 x 5 = 125 numbers. None of the permitted digits is zero, so every choice produces a three-digit number.

Count the easier opposite condition

A number containing no 3 uses only 1, 2, 4 and 5. Each position now has 4 choices, giving 43 = 64 numbers. The required count is 125 - 64 = 61.

The two categories, no 3 and at least one 3, are disjoint and exhaust the full set. That is why a single subtraction works.

Check by counting exactly one, two or three

Exactly one 3: choose its position in 3 ways, then choose the other digits in 4 ways each, giving 48. Exactly two 3s: choose the non-3 position in 3 ways and its digit in 4 ways, giving 12. Exactly three 3s gives 1.

The total is 48 + 12 + 1 = 61. This independent method also shows why counting a 3 in each position separately would overcount numbers such as 333.

Notice what a changed condition does

If repetition is forbidden, the earlier calculation no longer applies. The full count becomes 5 x 4 x 3 = 60, while the count without 3 is 4 x 3 x 2 = 24. The answer is then 36.

For your review notes, record the allowed digits, whether order matters, whether repetition is allowed and whether a leading zero is possible. Those four checks often decide the correct counting model before any arithmetic starts.

Continue reading: AMC 10 Probability: With and Without Replacement Explained.

Contact Hanlin

Planning a first attempt or reviewing a topic you find difficult? Scan the QR code and send AMC10 COMPLEMENT. Include your school year, country or competition region, experience and the question you want to discuss.

Scan to contact Hanlin on WeChat. Send AMC10 COMPLEMENT.

Contact Hanlin on WeChat

On your phone, use the button or save the QR image and scan it within WeChat.

Official information and further reading: Source 1

Online Customer Service
Contact Customer Service