Counting Arrangements with Restrictions: Digits, Codes and n! | AQA GCSE Further Maths notes
Free preview: Counting Arrangements with Restrictions: Digits, Codes and n!
The Product Rule: Dice, Coins and Codes
AQA Level 2 Further Maths · OCR Additional Maths
How many different 4-digit PIN codes are there? You could try to list them, but you would be writing for days. Counting questions are about finding the total without listing. One rule does almost all the work.
The product rule
💡 The product rule
If one choice can be made in ways, and then a second choice can be made in ways, the two choices together can be made in ways. With more choices, keep multiplying.
- You met this before. Recap: see the note 'Counting Choices with the Product Rule', and for listing outcomes carefully, 'Listing Outcomes Systematically Without Missing Any'.
- Example: a café offers 3 starters and 5 mains. A meal of one starter and one main can be chosen in ways.
- Why multiply, not add? Each of the 3 starters can go with each of the 5 mains. That is 3 groups of 5.
Dice and coins: the same number of choices every time

What the picture shows
- The first die can land in 6 ways: 6 branches.
- Every one of those branches splits into 6 more for the second die, so 2 dice give outcomes.
- Each extra die multiplies by 6 again. So dice give outcomes, and coins give .
Codes: are repeats allowed?
This is the first question to ask in every counting problem.
| Situation | Choices for each place | Total |
|---|---|---|
| 4-digit PIN, repeats allowed (digits 0 to 9) | 10, 10, 10, 10 | |
| 4-digit PIN, no digit repeated | 10, 9, 8, 7 | |
| 3 letters A to Z, repeats allowed | 26, 26, 26 |
- With repeats allowed, every place has the full set of choices.
- With no repeats, each place has one fewer choice than the place before, because one digit has been used up.
👀 Watch me do it: count the 4-digit PINs that have at least one repeated digit
| What I write | Why I do it |
|---|---|
| All PINs: | "At least one repeat" has lots of cases (one pair, two pairs, three the same...). Counting them directly is messy. |
| No repeats: | The opposite of "at least one repeat" is "no repeats", which is easy to count. |
| Every PIN is in exactly one of the two groups, so subtract. |
📝 "At least one": count the opposite
When a question says "at least one", count everything, count the ones with none, then subtract. It is quicker and safer.
✏️ YOUR TURN 1
Try this first:
Three dice are rolled. How many outcomes are there? How many of them have no six? How many have at least one six?
Answer:
- All outcomes: .
- No six: each die has 5 choices, .
- At least one six: .
✏️ YOUR TURN 2
Try this first:
A code is 3 letters (A to Z, repeats allowed) followed by 2 digits (0 to 9, no repeats). How many codes are possible?
Answer:
- Letters: .
- Digits: .
- Total: .
Arranging Things in a Row: n Factorial
How many ways can 5 different books stand in a row on a shelf? Think of 5 empty places.
- The first place can take any of the 5 books.
- Once that is chosen, the second place has 4 books left. Then 3, then 2, then 1.
- Total: .
New notation: n!
- Read as " factorial".
- different objects can be arranged in a row in ways.
- , , , , . Factorials grow very fast.
- Your calculator has a key. On a non-calculator paper, write the product out.
💡 In plain words
- Factorial means: multiply the number by every whole number below it, down to 1.
- It counts the orders you can put different things in.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Number Skills and the Product Rule for Counting
- Fraction, Percentage and Ratio Skills Further Maths Takes for Granted
- Counting Arrangements with Restrictions: Digits, Codes and n!
What's inside for this topic
2 teacher notes, 34 practice questions, 32 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Fraction, Percentage and Ratio Skills Further Maths Takes for Granted