2011 AMC 10A Problem 13
How many even integers are there between 200 and 700 whose digits are all different and come from the set {1, 2, 5, 7, 8, 9}?
Show solution without answering
Key insight
The first digit must be 2 or 5 and the last digit must be 2 or 8. If the first digit is 2, the last digit can only be 8.
Solution
The numbers have three digits. Two of the places have strong rules, so fill those first.
- Hundreds digit. The number is between and , so the hundreds digit is , , , or . Of these, only and are in the allowed set.
- Units digit. The number is even, so the units digit is even. The allowed even digits are and .
- The digits must all be different, so the choice of hundreds digit can affect the units digit. Split into two cases.
Case 1: hundreds digit . The units digit can't be again, so it must be . The tens digit can be any of the allowed digits not yet used (). That gives numbers: .
Case 2: hundreds digit . The units digit can be or : choices. For each, the tens digit is any of the allowed digits not yet used. That gives numbers.
Total: .
The answer is .
Why this works
When counting numbers with digit rules, fill the most restricted places first (here the hundreds place for the range and the units place for being even). If one choice changes how many options another place has, split into cases instead of multiplying straight through.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The number is a three-digit integer. For it to lie between and , the hundreds digit must be or (the only allowed digits in that range). For it to be even, the units digit must be or .
Case 1: hundreds digit . The units digit cannot also be , so it is . The tens digit is any of the remaining digits. That gives numbers.
Case 2: hundreds digit . The units digit can be or ( choices), then the tens digit is any of the remaining digits. That gives numbers.
Total: .
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 1: Counting Is Arithmetic
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
- Introduction to Algebra, Chapter 20: Special Functions (§20.3)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.