With repetition: n choices for each of k places: nᵏ.
Without repetition: n × (n − 1) × … for each place in turn.
Restrictions first: fill the restricted place (an even last digit, no leading 0) before the others.
Watch out: A number cannot start with 0: count the first digit's choices separately.
Practise this step
5 questions from this step only, in 8 minutes: new numbers and
stories every time, of exactly the types worked out below. Marked at the end, with every question
worked out.
10 types of question. Try each one yourself before you open
the hint or the solution.
Example 1 · level 6
A coin is tossed 14 times and the results are written down in order. How many of the possible sequences start with 1 head and end with 1 tail?
Hint
The first 1 and the last 1 tosses are fixed; each toss in between has 2 results.
Worked solution
Free tosses: 14 − 1 − 1 = 12
Sequences: 2^12 = 4096
Answer: 4096 sequences
Example 2 · level 6
For a trip a student packs 5 shirts, 7 pairs of trousers and 3 hats. An outfit is one shirt and one pair of trousers, with one of the hats or without a hat. How many different outfits are there?
Hint
The hat has one more choice than there are hats: no hat at all.
Worked solution
Hat choices: 3 + 1 = 4
Outfits: 5 × 7 × 4 = 140
Answer: 140 outfits
Example 3 · level 6
Village A is joined to town B by 5 roads, and B to city C by 5 roads. A is also joined straight to C by 2 roads. How many different ways are there to drive from A to C, without going back?
Hint
Via B, every road to B can be followed by every road from B; then add the direct roads.
Worked solution
Via B: 5 × 5 = 25
With the direct roads: 25 + 2 = 27
Answer: 27 ways
Example 4 · level 7
How many 3-digit numbers have every digit at least 4?
Hint
Each place may hold any digit from 4 to 9; none of them is zero, so the first place is no different.
Worked solution
Choices per place: 10 − 4 = 6
6^3 = 216
Answer: 216 numbers
Example 5 · level 7
A lunch menu has 6 starters, 6 main courses and 4 desserts. A lunch is one main course with a starter, or with a dessert, or with both. How many different lunches are there?
Hint
Count what can go with the main course: a starter only, a dessert only, or one of each.
Worked solution
With the main course: 6 + 4 + (6 × 4) = 34 choices
Lunches: 6 × 34 = 204
Answer: 204 lunches
Example 6 · level 7
A number plate has 3 letters followed by 4 digits. The letters are chosen from 24 letters, and letters and digits may repeat. How many different plates are possible?
Hint
Each letter has 24 choices and each digit has 10.
Worked solution
Letters: 24^3 = 13,824; digits: 10^4 = 10,000
Plates: 13,824 × 10,000 = 138,240,000
Answer: 138,240,000 plates
Example 7 · level 7
A door lock has 9 buttons, each with a different symbol. A code presses 3 different buttons in order. How many codes are there?
Hint
The first button has 9 choices, the next one fewer, and so on.
Worked solution
9 × (9 − 1) × … × 7 (3 factors)
= 504
Answer: 504 codes
Example 8 · level 8
You have 7 different non-zero digits, 2 of them even. How many 4-digit even numbers can be made from them, with no digit used twice?
Hint
An even number ends in an even digit: choose the last digit first.
Worked solution
Last digit: 2 choices
The other 3 places from the 6 digits left: 120 ways
Numbers: 2 × 120 = 240
Answer: 240 numbers
Example 9 · level 8
Local phone numbers in a town have 9 digits, and the first digit must be 2 or more. How many phone numbers are possible?
Hint
The first digit has the digits from 2 to 9 to choose from; every other digit has 10.
Worked solution
First digit: 10 − 2 = 8 choices; the other 8: 10^8 = 100,000,000
8 × 100,000,000 = 800,000,000
Answer: 800,000,000 numbers
Example 10 · level 9
A ship has 8 different flags. A signal is one flag, or several different flags hung one above the other, at most 3 of them, and the order matters. How many different signals can be made?
Hint
Count the signals with one flag, with two, and so on up to 3, then add.
Worked solution
One flag: 8; two flags: 8 × (8 − 1) = 56; …; 3 flags: 336
Together: 400
Answer: 400 signals
Ready for the quiz?
Check yourself on this step: 5 questions, 8 minutes.