A security analyst is designing a 4-character access code consisting of a digit, followed by two letters, followed by another digit. The code must be constructed according to the following rules:
- The first character must be a prime digit chosen from the set of single-digit integers .
- The second and third characters must be distinct uppercase letters selected from the set .
- The fourth character must be an odd digit chosen from the set of single-digit integers , such that it is not equal to the first digit.
How many different 4-character access codes can be created following these rules?
- A300
- 340Answer
- C400
- D420
- E500
Answer
340 access codes
The correct count of 340 is obtained by separating the problem into two distinct cases based on whether the prime first digit is even or odd. For the even prime digit (2), there are 5 possible odd digits for the fourth slot, yielding 100 codes. For the three odd prime digits (3, 5, 7), the fourth slot has 4 available choices to avoid duplicating the first digit, yielding 240 codes. Summing both cases gives 340.
Step-by-Step Solution
Key Concept
Fundamental Counting Principle with Conditional Restrictions and Case Analysis
Estimated Time:2m 0s