Sample problem · MOEMS-style · Division M
How many 3-digit positive integers are divisible by 5 and have all three digits different?
Show worked solution
- A number divisible by 5 must end in 0 or 5. Count the two cases separately because 0 cannot be the hundreds digit.
- Case 1 (ends in 0): there are 9 choices for the hundreds digit (1 to 9), and 8 remaining choices for the tens digit. That gives 9 times 8, which is 72 numbers.
- Case 2 (ends in 5): the hundreds digit cannot be 0 or 5, leaving 8 choices. The tens digit can be 0, so it has 8 remaining choices. That gives 8 times 8, which is 64 numbers.
- Add both cases: 72 plus 64 equals 136.
Answer: 136