Grade by GradeEssential student suppliesSign in
CC. Curricular Competencies · Curricular Competencies: Thinking Like a Pro on the Job

Thinking Strategies: Winning Games and Logic Puzzles

BC WM 11: thinking strategiesAbout 55 minutes
Learning goals
  • I can find a winning strategy for a take-away game and explain why it works.
  • I can generalize a strategy to new rules.
  • I can solve a logic puzzle by organizing clues in a grid.
  • I can use reasoning to find the fewest steps, as in a balance puzzle.

Words to know

strategy (game)
A plan for every move that helps you win.
winning position
A position from which you can always win if you play correctly.
generalize
Turn a pattern from a few cases into a rule for all cases.
logic grid
A table used to track which options are possible or ruled out by clues.
remainder
What is left after dividing, such as 21 ÷ 4 = 5 remainder 1.

Puzzles and games are math

The B.C. curriculum asks you to develop thinking strategies to solve puzzles and play games. Its notes mention using reason to determine winning strategies and generalizing and extending. A Big Idea of the course is that flexibility with number builds meaning, understanding and confidence, and the curriculum suggests puzzles and games as one way to explore it.

The same thinking shows up at work: scheduling a crew from a list of conditions, finding a faulty part in the fewest tests, or planning moves several steps ahead.

take 1group of 4group of 4group of 4group of 4group of 421 counters: take 1 to 3 each turn; whoever takes the last one winsLeave 20. Then make each round (their move + yours) add to 4.
The winning first move in the game of 21.
Worked example

Example 1: The game of 21

Two players take turns removing 1, 2 or 3 counters from a pile of 21. Whoever takes the last counter wins. Find a winning strategy for the first player.

  1. Try a simpler case: with 4 counters left on your opponent's turn, they take 1, 2 or 3, and you take the rest. You win. So leaving 4 is good.
  2. Extend: if you leave 8, whatever they take (1 to 3), you take enough to make 4 for the round, leaving 4. So leaving any multiple of 4 wins.
  3. 21 ÷ 4 = 5 remainder 1. Take 1 first, leaving 20.
  4. Then each round: if they take 1, you take 3; if they take 2, you take 2; if they take 3, you take 1. The pile goes 20, 16, 12, 8, 4, 0, and you take the last one.

Take 1 to leave 20, then always make the round add to 4.

Worked example

Example 2: Generalizing the strategy

Now players may take from 1 to 5 counters, and the pile has 50. What is the winning first move?

  1. In the game of 21, the most you could take was 3, and the key number was 3 + 1 = 4.
  2. Generalize: if you can take 1 to k, leave a multiple of k + 1. Here k = 5, so leave a multiple of 6.
  3. 50 ÷ 6 = 8 remainder 2. Take 2, leaving 48.
  4. Then make each round add to 6. Check: 48 is 8 rounds of 6.

Take 2. In general, take the remainder when the pile is divided by k + 1. If the remainder is 0, you are in a losing position, so let your opponent go first if you can.

WeldingElectricalPlumbing
Ava✗ (clue 1)✓✗
Ben✓✗✗ (clue 2)
Cho✗✗✓
A logic grid for Example 3. A ✗ rules a choice out; a ✓ is the only choice left in its row and column.
Worked example

Example 3: A crew logic puzzle

Three apprentices, Ava, Ben and Cho, are each placed in a different trade: welding, electrical or plumbing. Clue 1: Ava is not in welding. Clue 2: Ben is not in plumbing. Clue 3: Cho is in neither welding nor electrical. Who is in which trade?

  1. Clue 3: Cho is in plumbing (the only choice left for Cho).
  2. Ben is not in plumbing (clue 2), and plumbing is taken anyway. Ava is not in welding (clue 1), so Ava must be in electrical.
  3. That leaves welding for Ben.
  4. Check every clue: Ava is not in welding (true); Ben is not in plumbing (true); Cho is not in welding or electrical (true).

Ava: electrical. Ben: welding. Cho: plumbing.

Play to learn

Play a game several times before looking for the strategy. Write down which positions you won and lost from. Patterns in those positions are where strategies come from.

Safety on the job

Puzzles and games are great for breaks and training, but horseplay on a job site causes real injuries. Never play around equipment, vehicles, ladders or tools.

Hands-on activity

Play and generalize

Play with a partner, using coins or paper clips.

  1. Play the game of 21 five times. The winner explains a move that helped.
  2. Change the rule to "take 1 to 4" with 30 counters. Predict the winning strategy, then test it.
  3. Try the opposite rule: whoever takes the last counter loses. How does the strategy change?
  4. Write your general rule in one sentence.
Just for fun

The take-away game Nim was fully solved by the mathematician Charles Bouton in a paper published in the early 1900s. His winning strategy uses binary numbers, the same 0s and 1s that computers use.

Your turn

1

In the 1-to-3 game, the pile has 15. What should the first player take?

2

In a 1-to-4 game with 30 counters, should you go first or second? Why?

3

In a 1-to-6 game, what kind of number should you leave?

4

Four apprentices are in a row of lockers 1 to 4. Dev is in locker 1. Emma is next to Dev. Finn is not in locker 4. Where is Gia?

5

You have 9 bolts that look the same, but one is heavier. With a balance scale, what is the fewest number of weighings that always finds it?

6

In the 1-to-3 game, your opponent leaves you 13. What do you take?

More practice

1

In the 1-to-3 game, the pile starts at 40. Should you go first or second?

2

In a 1-to-5 game with 27 counters, what is the winning first move?

3

With 27 bolts (one heavier) and a balance scale, how many weighings are needed?

4

In the 1-to-3 game where whoever takes the last counter loses, which numbers should you leave?

5

Three trucks (red, white, blue) go to three sites (A, B, C). Red does not go to A. Blue goes to C. Which truck goes to each site?

Check your understanding

Quiz

1.

In the 1-to-3 game (last counter wins) with 18 counters, what should the first player take?

2.

If players may take 1 to 4 counters, which numbers should you leave?

3.

One of 9 identical-looking parts is heavier. What is the fewest number of balance weighings that always finds it?

4.

Which rule generalizes the take-away strategy when you can take 1 to k counters?

For parents and teachers

Big idea: puzzles and games build flexible thinking, and finding a winning strategy is real reasoning: try cases, find a pattern, explain it and generalize it. The curriculum names developing thinking strategies to solve puzzles and play games as a competency.

How to help: play the game of 21 with your teen and let them explain the strategy. Try logic puzzles from a newspaper or app together and talk about how each clue narrows the options.

Common mistakes:

  • Using the strategy for one rule (multiples of 4) after the rule changes.
  • Guessing in logic puzzles instead of recording what each clue rules out.
  • Forgetting to check every clue against the final answer.