2017 AMC 8 Problem 20

Improve Your AMC 8 Score

Practice with AMC 8 problems by topic and difficulty level.

Improve Your AMC 8 Score

Practice with AMC 8 problems by topic and difficulty level.

One Page to Learn. One Point to Earn.

In This Page:

To help you master 2017 AMC 8 Problem 20, this page includes:

  • The original AMC problem to try, plus the correct answer
  • Clear, step-by-step solutions using different methods
  • Key ideas, useful formulas, and takeaways you can apply to similar problems
  • Related problems from past AMC exams, plus new practice problems that build the same skills

Want more practice? Scroll down to download Think Academy’s AMC 8 practice packs and keep building your AMC 8 skills.

2017 AMC8 Problem 20

AMC 8 · 2017 · Question 20
Medium
CombinatoricsCounting PrinciplesDigit, String & Code Counting

20.

An integer between and , inclusive, is chosen at random. What is the probability that it is an odd integer whose digits are all distinct?

Choose one answer · Attempt 1 of 3

Small Hint

Try picking the units digit first so you guarantee the number is odd. Once you pick that, how many choices do you have for the first digit, keeping in mind it cannot be zero and must be distinct?

Choose one answer · Attempt 2 of 3

Small Hint

Try picking the units digit first so you guarantee the number is odd. Once you pick that, how many choices do you have for the first digit, keeping in mind it cannot be zero and must be distinct?

Choose one answer · Attempt 3 of 3

Small Hint

Try picking the units digit first so you guarantee the number is odd. Once you pick that, how many choices do you have for the first digit, keeping in mind it cannot be zero and must be distinct?

Solution

Constructive Counting (Most Restricted First)

Build the four-digit number by filling in the digits one by one. To avoid complicated overlaps, we will select the digits with the most rules first: the units digit and the thousands digit.

By the Multiplication Principle, if we break a process down into independent steps, we can multiply the number of valid options at each step to find the total number of possible combinations.

Step 1: Calculate the total number of possible integers

The problem states the integer is chosen from 1000 to 9999 inclusive. We find the total number of integers in this range by subtracting the lower bound from the upper bound and adding 1.

Step 2: Identify the restrictions for favorable outcomes

We are building a four-digit number using the 10 available digits from 0 to 9. The number must be odd, so the units digit is restricted to the odd digits. The number cannot start with zero, so the thousands digit cannot be 0. Furthermore, all four digits must be distinct.

Step 3: Count the options for the units and thousands digits

Always start by filling the positions with the most restrictions. The units digit must be odd. Once we choose the units digit, we move to the thousands digit. The thousands digit cannot be 0, and because the digits must be distinct, it cannot be the digit we just used for the units place. Since the odd units digit is definitely not 0, these are two entirely separate restrictions. We subtract 2 from our 10 original digits, leaving 8 choices for the thousands place.

Step 4: Count the options for the remaining digits

Now we choose the hundreds digit. It can be any digit, including 0, except the two digits already used for the thousands and units places. Then we choose the tens digit, which can be anything except the three digits already used. We multiply all the choices together to find the number of favorable integers.

Step 5: Calculate the final probability

The probability is the number of favorable outcomes divided by the total number of possible integers. We simplify the resulting fraction by dividing the numerator and denominator by common factors (first by 10, then by 4).

Correct answer: B.
The exact answer is , which corresponds to choice B. We can verify the magnitude: the probability of an integer being odd is exactly , and the probability of 4 digits being distinct is roughly . So we expect the answer to be roughly . Our fraction is very close to , which gives us strong confidence in the result.

Constructive Counting by Cases

Instead of starting from the end, we can build the number starting from the thousands digit. Because the remaining choices for the odd units digit depend on whether the thousands digit is odd or even, we split the problem into two distinct cases.

When a single sequence of choices depends too heavily on previous selections, we use the Addition Principle to split the problem into non-overlapping cases, calculate the total for each case separately, and add the results together.

Step 1: Divide the problem into cases based on the first digit

If we choose the thousands digit first, we do not know whether it is odd or even, which changes how many choices are left for the odd units digit. To fix this, we split the problem into two mutually exclusive cases based on the parity of the thousands digit.

Step 2: Calculate the number of ways for Case 1 (thousands digit is odd)

If the thousands digit is odd, there are 5 possible choices (1, 3, 5, 7, 9). We then jump to the units digit. The units digit must also be odd and distinct, so one odd digit has been consumed, leaving 4 choices. The hundreds digit can be any of the 8 remaining unassigned digits, and the tens digit can be any of the 7 remaining digits.

Step 3: Calculate the number of ways for Case 2 (thousands digit is even)

If the thousands digit is even and non-zero, there are 4 choices (2, 4, 6, 8). We then jump to the units digit. It must be odd, and since the thousands digit is even, none of the 5 odd digits have been used yet, leaving 5 choices. The hundreds and tens digits again have 8 and 7 choices, respectively.

Step 4: Combine the cases and compute the probability

Since these cases do not overlap and cover all possibilities for a valid starting digit, we add them to get the total number of favorable integers. We then divide by 9000 to find the probability.

Correct answer: B.
The probability is , matching choice B. By arriving at the exact same numerator using a different logic path and starting digit, we confirm that our accounting of the overlapping zero and odd constraints is perfectly accurate.

Similar Problems in Real Exams

The following five AMC 8 problems are closely related to AMC 8 2017 Question 20. These real AMC 8 problems test the same key concept—Digit, String & Code Counting. Click any problem to learn and practice, then continue to the adapted practice section later in this article for more problems to try.

2020 AMC 8 Problem 16

2012 AMC 8 Problem 16

2011 AMC 8 Problem 23

2009 AMC 8 Problem 16

2009 AMC 8 Problem 22

Adapted Problems to Practice

1 / 10

What Formulas Do You Need for This Problem?

  • Definition of Probability:

A is the specific event we want to occur. This formula applies when all outcomes in the sample space are equally likely. Used at the very end to turn our integer counts into a formal probability fraction.

  • Multiplication Principle (Rule of Product):

n_i is the number of valid options for the i-th step. This applies when decisions are made in sequence and the number of available options at each step does not depend on the specific choices made in previous steps. Used to find the number of valid outcomes by multiplying the available choices for the thousands, hundreds, tens, and units digits.

  • Addition Principle (Rule of Sum):

N_i is the number of outcomes in the i-th case. This applies only when the cases are mutually exclusive (they cannot happen at the same time) and collectively exhaustive (they cover all possibilities). Used in Method 2 to safely combine the totals from the odd thousands digit case and the even thousands digit case.

Key Takeaway: Remember This Strategy for Next Time

A combinatorics problem asks you to arrange items (like digits) where some positions have strict rules (such as not being 0, or being an odd number).

Try: Fill the most restricted positions first.

Why: By dealing with the strict rules early, you ensure that you don't accidentally run out of valid options. The remaining, less restricted positions usually just require counting what is left over.

Making a choice in one position changes the number of available options for a future position (e.g., picking an odd first digit leaves fewer odd digits for the last place).

Try: Break the problem into mutually exclusive cases.

Why: Separating the scenarios mathematically untangles the overlapping rules. Within each case, the number of choices remains constant and can be safely multiplied without ambiguity.


Unlock More Targeted AMC 8 Practice Resource

Build Stronger Skills. Practice with Purpose. Prepare with Confidence.

Get a complete set of module-focused AMC 8 practice workbooks designed to help students strengthen core concepts, improve problem-solving strategies, and feel more confident on test day.

With 250 practice problems organized across six essential AMC 8 modules, students can focus on one skill area at a time and learn from clear, step-by-step solutions.

AMC8 Practice Resource Pack Promo Cropped Under 2MB

Download the Free AMC 8 Practice Resource Pack

Inside, You’ll Find:

  • 6 module-focused practice workbooks: Algebra, Geometry, Number Theory, Combinatorics, and Probability & Statistics.
  • 250 AMC 8-style practice problems covering essential concepts and common competition question types.
  • Complete answer keys and step-by-step solutions to help students understand the reasoning behind each answer.
  • Organized, print-ready materials for independent study, guided practice, or extra preparation at home.

Get Instant Access: Fill out the form below to receive our exclusive resource pack.

*Please enter a valid email address to access the materials and receive future prep updates.

 AMC 8 Practice Resource Pack
Free Download

After submission, the download link is in the confirmation message on this page.


About Think Academy

Think Academy US Online, part of TAL Education Group (NYSE: TAL), provides structured math and ELA programs that help students build strong academic foundations and grow with confidence. With expert teachers, proven methods, and innovative AI tools, we nurture learning ability, curiosity, and healthy study habits that support long-term growth and a lifelong love of learning.

Check our programs:

Want more insights on Math & ELA learning and parenting? Fill out the form on this page and subscribe to our newsletter for weekly tips and the latest resources. Join 100,000+ families in our Parent Community!

Leave a Comment & Share Your Thoughts!

Think Academy AMC 8 Resource Hub

Get expert PreK–12 insights in your inbox every week

To support your child’s learning, confidence, and growth:
✓ Competition & Test Prep
✓ Printable Worksheets
✓ Webinar Invites

Join 100,000+ subscribers in our parent community.

Share This Story, Choose Your Platform!

Related Posts