2003 AMC 10A Problem 15
What is the probability that an integer in the set is divisible by and not divisible by ?
Show solution without answering
Key insight
Count the 50 even numbers, then take away the even numbers that are also multiples of 3, which are the 16 multiples of 6. That leaves 34.
Solution
Start with all the even numbers, then remove the ones that are also multiples of .
1. Even numbers from to : . There are of them.
2. An even number that is also a multiple of is a multiple of . Those are . Since and is too big, there are of them.
3. Even numbers that are not multiples of : .
4. The probability is
The answer is .
Why this works
"Divisible by but not by " means: take the multiples of , then throw out the ones that are multiples of both, which are the multiples of . The count of multiples of up to must be a whole number, , so the answer is not exactly one third of the evens. Whenever the upper limit is not a multiple of the step, count carefully instead of using a fraction.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Multiples of up to : .
Among these, the ones also divisible by are the multiples of : (namely ).
Even numbers that are not multiples of : . The probability is .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Counting & Probability, Chapter 7: Introduction to Probability
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.3)
- Introduction to Number Theory, Chapter 5: Divisor Problems (§5.2, §5.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.