AZTest
Counting study guide · step 1 of 5

Multiplication principle counting problems: outfits, codes and plates

If one choice can be made in a ways and the next in b ways, both together can be made in a × b ways. Most counting starts here.

Key ideas

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.

Start the 5-question quiz

Every question type in this step, 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?

H············T?
Hint

The first 1 and the last 1 tosses are fixed; each toss in between has 2 results.

Worked solution
H············T= 4096
2n−h−t
  1. Free tosses: 14 − 1 − 1 = 12
  2. 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?

5×7×3 + 1?
Hint

The hat has one more choice than there are hats: no hat at all.

Worked solution
5×7×3 + 1= 140
s×t×(h+1)
  1. Hat choices: 3 + 1 = 4
  2. 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?

ABCa = 5b = 5c = 2?
Hint

Via B, every road to B can be followed by every road from B; then add the direct roads.

Worked solution
ABCa = 5b = 5c = 2= 27
ab+c
  1. Via B: 5 × 5 = 25
  2. 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?

(10 − 4)^3?
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
(10 − 4)^3= 216
(10−m)k
  1. Choices per place: 10 − 4 = 6
  2. 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?

6×(6 + 4 + 6·4)?
Hint

Count what can go with the main course: a starter only, a dessert only, or one of each.

Worked solution
6×(6 + 4 + 6·4)= 204
m(s+d+sd)
  1. With the main course: 6 + 4 + (6 × 4) = 34 choices
  2. 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?

24×24×…×10?
Hint

Each letter has 24 choices and each digit has 10.

Worked solution
24×24×…×10= 138,240,000
Lk×10m
  1. Letters: 24^3 = 13,824; digits: 10^4 = 10,000
  2. 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?

9×9 − 1×9 − 2?
Hint

The first button has 9 choices, the next one fewer, and so on.

Worked solution
9×9 − 1×9 − 2= 504
n!(n−k)!
  1. 9 × (9 − 1) × … × 7 (3 factors)
  2. = 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?

7 − 1×7 − 2×7 − 3×2?
Hint

An even number ends in an even digit: choose the last digit first.

Worked solution
7 − 1×7 − 2×7 − 3×2= 240
e×(n−1)!(n−k)!
  1. Last digit: 2 choices
  2. The other 3 places from the 6 digits left: 120 ways
  3. 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?

10 − 2×10×…×…?
Hint

The first digit has the digits from 2 to 9 to choose from; every other digit has 10.

Worked solution
10 − 2×10×…×…= 800,000,000
(10−z)×10k−1
  1. First digit: 10 − 2 = 8 choices; the other 8: 10^8 = 100,000,000
  2. 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
= 400
∑i=1kn!(n−i)!
  1. One flag: 8; two flags: 8 × (8 − 1) = 56; …; 3 flags: 336
  2. Together: 400

Answer: 400 signals

Ready for the quiz?

Check yourself on this step: 5 questions, 8 minutes.

Start the quiz

All steps of the Counting study guide

  1. The multiplication principle

    Outfits, routes through towns, number plates, PINs, menus and numbers made from digits.

  2. Arrangements (permutations)

    Photos with people at the ends, podiums, groups that stay together, round tables and books by subject.

  3. Choosing (combinations)

    Committees, teams from two groups, lines and triangles through points, lottery and handshakes.

  4. Paths, grids and sharing out

    Routes on a grid, via a shop or avoiding a crossing, tournaments, dominoes, rectangles in grids, stairs and boxes.

  5. Complements and overlaps

    Neither club, divisible by neither, three sports, repeated digits, passwords and the pigeonhole principle.

When every step feels easy, take the whole Counting test: 10 questions in 15 minutes.