A 5-character security passcode must be created using the digits 0 through 9. The passcode must begin with an odd digit, end with an even digit, and no digit may be repeated anywhere in the passcode. How many different passcodes can be created?
- A1,400
- 8,400Answer
- C18,000
- D25,000
Answer
8,400
To find the total number of possible passcodes, we evaluate the restricted positions first. The first digit must be odd (5 options: 1, 3, 5, 7, 9). The last digit must be even (5 options: 0, 2, 4, 6, 8). Because odd and even sets do not overlap, exactly one odd and one even digit are removed from the total pool of 10 digits. Because repetition is not allowed, digits remain available for the middle three positions. The number of ways to fill the middle three spots is a permutation without repetition: . Multiplying the independent choices for all positions gives .
Step-by-Step Solution
Key Concept
Fundamental Counting Principle with Restrictions