A lock has the digits 0-39. A series of three numbers unlocks the lock. How many possible unlocking combinations are there if the numbers cannot be repeated?

### Fundamental Counting Principle

Consider a phone number. A phone number consists entirely of numbers that might be repeated. In this concept we will look at how to determine the total number of possible combinations of items which may be repeated.

Let's solve the following problems.

- A license plate consists of three letters and four numbers in the state of Virginia. If letters and numbers can be repeated, how many possible license plates can be made?

**I**f we consider the three slots for the letters, how many letters can be chosen to place in each slot? How about the four slots for the numbers? If there are no restrictions, i.e. letter and numbers can be repeated, the total number of license plates is:

Now, what if letters or numbers could not be repeated? Well, after the first letter is chosen, how many letters could fill the next spot? Since we started with 26, there would be 25 unused letters for the second slot and 24 for the third slot. Similarly with the numbers, there would be one less each time:

- How many unique five letter passwords can be made? How many can be made if no letter is to be repeated?

Since there are 26 letters from which to choose for each of 5 slots, the number of unique passwords can be found by multiplying 26 by itself 5 times or . If we do not repeat letters, then we need to subtract one each time we multiply: .

- How many unique 4 digit numbers can be made? What if no digits can be repeated?

For the first part, consider that in order for the number to be a four digit number, the first digit cannot be zero. So, we start with only 9 digits for the first slot. The second slot could be filled with any of the ten digits and so on:

For the second part, in which digits cannot be repeated, we would still have 9 possible digits for the first slot, then we’d have 9 again for the second slot (we cannot repeat the first digit, but we can add 0 back into the mix), then 8 for the third slot and 7 for the final slot:

**Examples**

**Example 1**

Earlier, you were asked to find the number of possible unlocking combinations if the numbers cannot be repeated.

Since there are 40 numbers from which to choose for each of 3 slots, the number of unique passwords can be found by multiplying 40 by itself 3 times or . However, we cannot repeat numbers so we need to subtract one each time we multiply: .

Therefore, there are 59,280 possible unlocking combinations.

#### Example 2

How many unique passwords can be made from 6 letters followed by 1 number or symbol if there are ten possible symbols? No letters or numbers can be repeated.

#### Example 3

If a license plate has three letters and three numbers, how many possible combinations can be made?

#### Example 4

In a seven digit phone number, the first three digits represent the exchange. If, within a particular area code, there are 53 exchanges, how many phone numbers can be made

### Review

Use the Fundamental Counting Principle to answer the following questions. Refer back to the examples and guided practice for help.

- How many six digit numbers can be formed if no digits can be repeated?
- How many five digit numbers can be formed that end in 5?
- How many license plates can be formed of 4 letters followed by 2 numbers?
- How many seven digit phone numbers can be made if there are 75 exchanges in the area?
- How many four letter pins (codes) can be made?
- How many four number/letter pins can be made if no number or letter can be repeated?
- How many different ways can nine unique novels be arranged on a shelf?
- How many different three scoop cones can be made from 12 flavors of ice cream allowing for repetition? What if no flavors can be repeated?
- How many different driver’s license numbers can be formed by 2 letters followed by 6 numbers?
- How many student ID numbers can be made by 4 random digits (zero cannot come first) followed by the student’s grade (9, 10, 11 or 12). Example: 5422-12 for a grader.

### Answers for Review Problems

To see the Review answers, open this PDF file and look for section 12.2.