AZTest
Basic 3 study guide · step 12 of 13

Counting word problems: arrangements, combinations and paths

Counting problems ask how many ways something can happen. Decide first whether order matters (arrangements) or not (choices), and whether things may repeat.

Key ideas

Watch out: Choosing a team of 3 counts each group once; choosing a captain, a vice and a secretary does not.

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

32 types of question. Try each one yourself before you open the hint or the solution.

Multiplication principle

Explained in more depth in Counting study guide, step 1.

Example 1 · level 7

How many 2-digit numbers have every digit at least 8?

(10 − 8)^2?
Hint

Each place may hold any digit from 8 to 9; none of them is zero, so the first place is no different.

Worked solution
(10 − 8)^2= 4
(10−m)k
  1. Choices per place: 10 − 8 = 2
  2. 2^2 = 4

Answer: 4 numbers

Example 2 · level 7

A lunch menu has 4 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×(4 + 4 + 4·4)?
Hint

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

Worked solution
6×(4 + 4 + 4·4)= 144
m(s+d+sd)
  1. With the main course: 4 + 4 + (4 × 4) = 24 choices
  2. Lunches: 6 × 24 = 144

Answer: 144 lunches

Example 3 · level 7

A number plate has 3 letters followed by 3 digits. The letters are chosen from 26 letters, and letters and digits may repeat. How many different plates are possible?

26×26×…×10?
Hint

Each letter has 26 choices and each digit has 10.

Worked solution
26×26×…×10= 17,576,000
Lk×10m
  1. Letters: 26^3 = 17,576; digits: 10^3 = 1000
  2. Plates: 17,576 × 1000 = 17,576,000

Answer: 17,576,000 plates

Example 4 · level 7

A door lock has 12 buttons, each with a different symbol. A code presses 5 different buttons in order. How many codes are there?

12×12 − 1×…×12 − 4?
Hint

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

Worked solution
12×12 − 1×…×12 − 4= 95,040
n!(n−k)!
  1. 12 × (12 − 1) × … × 8 (5 factors)
  2. = 95,040

Answer: 95,040 codes

Example 5 · level 8

You have 7 different non-zero digits, 2 of them even. How many 3-digit even numbers can be made from them, with no digit used twice?

7 − 1×7 − 2×2?
Hint

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

Worked solution
7 − 1×7 − 2×2= 60
e×(n−1)!(n−k)!
  1. Last digit: 2 choices
  2. The other 2 places from the 6 digits left: 30 ways
  3. Numbers: 2 × 30 = 60

Answer: 60 numbers

Example 6 · level 8

Local phone numbers in a town have 4 digits, and the first digit must be 4 or more. How many phone numbers are possible?

10 − 4×10×10×10?
Hint

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

Worked solution
10 − 4×10×10×10= 6000
(10−z)×10k−1
  1. First digit: 10 − 4 = 6 choices; the other 3: 10^3 = 1000
  2. 6 × 1000 = 6000

Answer: 6000 numbers

Arrangements

Explained in more depth in Counting study guide, step 2.

Example 7 · level 7

12 runners start a race. Gold, silver and bronze go to the first three. In how many ways can the three medals be given out?

12×12 − 1×12 − 2?
Hint

Gold has 12 possible winners; silver then one fewer; bronze one fewer again.

Worked solution
12×12 − 1×12 − 2= 1320
n(n−1)(n−2)
  1. 12 × 11 × 10 = 1320

Answer: 1320 ways

Example 8 · level 8

10 friends stand in a row. 4 of them insist on standing next to each other. In how many ways can the row be arranged?

?
Hint

Glue the 4 friends into one block; arrange the blocks, then the friends inside their block.

Worked solution
= 120,960
k!×(n−k+1)!
  1. Blocks: 10 − 4 + 1 = 7, arranged in 7! = 5040 ways
  2. Inside the block: 4! = 24
  3. Rows: 5040 × 24 = 120,960

Answer: 120,960 ways

Example 9 · level 8

A coach picks a relay team of 6 runners from a squad of 10 and decides who runs first, second, and so on. The fastest runner of the squad must run the last leg. How many different line-ups are possible?

10 − 1×10 − 2×…×1?
Hint

The last leg is fixed; fill the other legs in order from the rest of the squad.

Worked solution
10 − 1×10 − 2×…×1= 15,120
(n−1)!(n−k)!
  1. Other legs: 5, chosen in order from 9 runners
  2. 9 × (9 − 1) × … = 15,120

Answer: 15,120 line-ups

Example 10 · level 8

6 guests sit at a round table; only who sits next to whom matters, not the exact chairs. The 3 members of one family must sit together. In how many ways can the guests be seated?

?
Hint

Treat the family as one unit: round a table, u units can be arranged in (u − 1)! ways.

Worked solution
= 36
(n−k)!×k!
  1. Units: the family plus the other guests, 6 − 3 + 1 = 4, round the table in 6 ways
  2. The family inside its unit: 3! = 6
  3. Seatings: 6 × 6 = 36

Answer: 36 ways

Choosing

Explained in more depth in Counting study guide, step 3.

Example 11 · level 7

At a meeting, everyone shook hands once with everyone else. There were 630 handshakes. How many people were at the meeting?

Hint

With n people there are n × (n − 1)/2 handshakes.

Worked solution
  1. n × (n − 1) = 1260
  2. 36 × 35 = 1260, so n = 36

Answer: 36 people

Example 12 · level 7

37 points are marked on a page, no three of them on one straight line. How many straight lines pass through two of the points?

?
Hint

Every pair of points gives one line, and no line is counted twice.

Worked solution
= 666
C(n,2)=n(n−1)2
  1. Pairs: C(37, 2) = 37 × 36/2 = 666

Answer: 666 lines

Example 13 · level 7

A quiz team is made of 3 pupils from class A, which has 12 pupils, and 3 pupils from class B, which has 6. How many different teams are possible?

C(12, 3)×C(6, 3)?
Hint

Choose from each class on its own, then combine every choice from A with every choice from B.

Worked solution
C(12, 3)×C(6, 3)= 4400
C(m,a)×C(w,b)
  1. Class A: C(12, 3) = 220; class B: C(6, 3) = 20
  2. Teams: 220 × 20 = 4400

Answer: 4400 teams

Example 14 · level 8

From 10 volunteers a committee of 3 is chosen, and then one of its members is made chair. How many different results are possible?

C(10, 3)×3?
Hint

Choose the committee, then the chair from inside it.

Worked solution
C(10, 3)×3= 360
C(n,k)×k
  1. Committees: C(10, 3) = 120
  2. With a chair: 120 × 3 = 360

Answer: 360 results

Example 15 · level 8

A committee of 2 is chosen from 5 men and 5 women. How many different committees include at least one woman?

Hint

Count all committees, then take away those with no woman.

Worked solution
  1. All: C(10, 2) = 45
  2. Men only: C(5, 2) = 10
  3. 45 − 10 = 35

Answer: 35 committees

Example 16 · level 8

A kitchen has 18 different fruits. A fruit salad uses some of them, at least one. How many different fruit salads can be made, if only which fruits are in it matters?

2×2×2×2×2×…−1?
Hint

Each fruit is either in or out; take away the empty bowl.

Worked solution
2×2×2×2×2×…−1= 262,143
2n−1
  1. In or out for each fruit: 2^18 = 262,144
  2. Without the empty bowl: 262,144 − 1 = 262,143

Answer: 262,143 salads

Example 17 · level 8

In a lottery 3 numbers are drawn from 42, and a ticket has as many different numbers. How many different tickets have exactly 2 of the drawn numbers?

C(3, 2)×C(39, 1)?
Hint

Choose which drawn numbers are on the ticket, and fill the rest with numbers that were not drawn.

Worked solution
C(3, 2)×C(39, 1)= 117
C(k,j)×C(n−k,k−j)
  1. Right numbers: C(3, 2) = 3
  2. The other 1 from the 39 not drawn: C(39, 1) = 39
  3. Tickets: 3 × 39 = 117

Answer: 117 tickets

Example 18 · level 8

An online poll has 11 options. You may tick as many as you like, from one up to 6. In how many different ways can you fill in the poll?

Hint

Count the ways to tick exactly one, exactly two, and so on, and add them up.

Worked solution
  1. C(11, 1) + C(11, 2) + … + C(11, 6)
  2. 11 + 55 + 165 + 330 + 462 + 462 = 1485

Answer: 1485 ways

Example 19 · level 8

22 points are marked on a circle. How many four-sided shapes have four of these points as their corners?

?
Hint

Any four points on a circle, joined in order round the circle, make exactly one such shape.

Worked solution
= 7315
C(n,4)
  1. C(22, 4) = 22!/(4! × (22 − 4)!) = 7315

Answer: 7315 shapes

Example 20 · level 8

A pizza place offers 8 different toppings, cheese among them. A pizza has exactly 3 different toppings, and cheese must be one of them. How many different pizzas are possible?

C(7, 2)?
Hint

Cheese is already chosen; choose the other toppings from the rest.

Worked solution
C(7, 2)= 21
C(n−1,k−1)
  1. Left to choose: 2 toppings from 7
  2. C(7, 2) = 21

Answer: 21 pizzas

Example 21 · level 8

6 points lie on a circle. How many triangles have three of these points as their corners?

Hint

No three points on a circle lie on one line, so any three make a triangle.

Worked solution
  1. C(6, 3) = 6 × 5 × 4/6 = 20

Answer: 20 triangles

Paths, grids and sharing out

Explained in more depth in Counting study guide, step 4.

Example 22 · level 7

In a league of 27 teams, every team plays every other team twice: once at home and once away. How many matches are played in the season?

?
Hint

Each team has a home match against every other team.

Worked solution
= 702
n(n−1)
  1. Home matches per team: 26
  2. Matches: 27 × 26 = 702

Answer: 702 matches

Example 23 · level 7

285 players enter a knockout tournament: the loser of every match is out, some players may skip a round, and the last player left wins. How many matches are played?

N = 285?
Hint

Count the losers, not the rounds: every match puts out exactly one player.

Worked solution
N = 285= 284
N−1
  1. Everyone but the winner loses once: 285 − 1 = 284 matches

Answer: 284 matches

Example 24 · level 8

Each half of a domino shows a number of spots from zero up to 16. A full set has every possible domino exactly once; a domino turned round is the same domino. How many dominoes are in the set?

000112…n = 16?
Hint

There are 16 + 1 possible halves. Count the dominoes with two different halves and those with two equal ones.

Worked solution
000112…n = 16= 153
C(n+1,2)+(n+1)
  1. Halves: 16 + 1 = 17
  2. Different halves: C(17, 2) = 136; equal halves: 17
  3. Set: 136 + 17 = 153

Answer: 153 dominoes

Example 25 · level 8

A town's streets form a grid. Home is at one corner and school is 7 blocks east and 6 blocks north of it. A shop is 5 blocks east and 5 blocks north of home. How many shortest routes from home to school go past the shop?

?
Hint

Count the shortest routes from home to the shop and from the shop to school, then multiply. A route of p blocks east and q north can be ordered in C(p + q, p) ways.

Worked solution
= 756
C(c+d,c)×C(a−c+b−d,a−c)
  1. Home to shop: C(5 + 5, 5) = 252
  2. Shop to school: 2 east, 1 north: C(2 + 1, 2) = 3
  3. Routes: 252 × 3 = 756

Answer: 756 routes

Complements and overlaps

Explained in more depth in Counting study guide, step 5.

Example 26 · level 7

A class has 38 pupils. 9 sing in the choir, 11 play in the band, and 7 do both. How many pupils do neither?

a = 9b = 11c = 7n = 38?
Hint

Adding the choir and the band counts those who do both twice.

Worked solution
a = 9b = 11c = 7n = 38= 25
n−(a+b−c)
  1. At least one: 9 + 11 − 7 = 13
  2. Neither: 38 − 13 = 25

Answer: 25 pupils

Example 27 · level 7

A drawer holds plenty of socks in 4 colours. In the dark, how many socks must you take out to be sure of having 4 socks of the same colour?

?
Hint

Think of the unluckiest draw: as many of each colour as possible without reaching 4.

Worked solution
= 13
c(k−1)+1
  1. Unluckiest: 4 − 1 = 3 of each of the 4 colours, 4 × 3 = 12 socks
  2. One more makes 4 of one colour: 12 + 1 = 13

Answer: 13 socks

Example 28 · level 8

A committee of 5 is chosen from 7 people. Two of the people refuse to serve together. How many committees are possible?

C(7, 5)−C(5, 3)?
Hint

Count all committees, then take away those with both of the two in them.

Worked solution
C(7, 5)−C(5, 3)= 11
C(n,k)−C(n−2,k−2)
  1. All: C(7, 5) = 21
  2. With both: the other 3 from 5: C(5, 3) = 10
  3. Allowed: 21 − 10 = 11

Answer: 11 committees

Example 29 · level 8

How many whole numbers from 1 to 578 are divisible neither by 5 nor by 6?

578−115−96+19?
Hint

Count those divisible by 5 or by 6, taking care of the ones divisible by both, then take them away.

Worked solution
578−115−96+19= 386
N−(⌊Na⌋+⌊Nb⌋−⌊Nl⌋)
  1. By 5: 115; by 6: 96; by both, that is by 30: 19
  2. By 5 or 6: 115 + 96 − 19 = 192
  3. Neither: 578 − 192 = 386

Answer: 386 numbers

Example 30 · level 8

How many whole numbers from 1 to 486 are divisible by 5 or by 11?

Hint

Count each kind, then take away the numbers you counted twice.

Worked solution
  1. Divisible by 5: 97. Divisible by 11: 44.
  2. Divisible by both, so by 55: 8.
  3. 97 + 44 − 8 = 133

Answer: 133 numbers

Example 31 · level 8

What is the smallest number of people in a room that makes it certain that at least 13 of them were born in the same month?

?
Hint

There are 12 months. With as few as possible in each month, how many people fit before some month has 13?

Worked solution
= 145
12(k−1)+1
  1. Without 13 in any month: at most 13 − 1 = 12 per month, 12 × 12 = 144 people
  2. One more forces 13: 144 + 1 = 145

Answer: 145 people

Example 32 · level 8

How many 5-digit numbers do not contain the digit 9 anywhere?

8×9×…×9?
Hint

The first digit can be neither zero nor 9; every other digit only not 9.

Worked solution
8×9×…×9= 52,488
8×9k−1
  1. First digit: 8 choices; each of the other 4: 9
  2. 8 × 9^4 = 8 × 6561 = 52,488

Answer: 52,488 numbers

Ready for the quiz?

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

Start the quiz

All steps of the Basic 3 study guide

  1. Algebra and number

    Linear and quadratic models, simultaneous equations, motion and work, and number puzzles.

  2. Inequalities

    One inequality, double inequalities, comparing offers and regions with two variables.

  3. Quadratic equations

    Solve ax² + bx + c = 0 from a story, use the discriminant, and the sum and product of roots.

  4. Functions, exponentials and logs

    Linear and piecewise rules, exponential growth and decay, cooling, and log scales.

  5. Sequences and series

    Terms and sums of arithmetic and geometric sequences, rules, and growing patterns.

  6. Interest and percentage growth

    Simple and compound interest, effective rates, loans, savings plans and inflation.

  7. Geometry

    Pythagoras, areas of composite shapes, volumes of solids, coordinates and angles.

  8. Circles and similar triangles

    Arcs and sectors, chords and tangents, circle theorems, and similar triangles.

  9. Trigonometry

    Sine, cosine and tangent in right triangles, angles of elevation, bearings and the sine rule.

  10. Statistics

    Means and medians from lists and tables, spread, the normal distribution, samples and regression.

  11. Probability

    Dice and coins, two-way tables, tree diagrams, conditional probability and expected value.

  12. Counting

    Multiplication principle, arrangements, choosing groups, grid paths and overlaps.

  13. Calculus

    Limits, derivatives, integrals, and rates, maxima and totals in context.

When every step feels easy, take the whole Basic 3 test: 20 questions in 15 minutes.