Grade by GradeEssential student suppliesSign in
CC. Curricular Competencies · Curricular Competencies: Reasoning, Problem Solving and Communicating

Thinking Strategies: Puzzles and Games

BC FMPC 10: puzzles and games BC FMPC 10: thinking strategiesAbout 60 minutes
Learning goals
  • I can find a winning strategy for a simple game by working backwards.
  • I can use a repeating pattern to answer a question about a very large power.
  • I can explain a strategy clearly enough that someone else can use it.

Words to know

working backwards
Starting from the end of a game or problem and reasoning back to the start.
winning position
A position from which a player can always win, whatever the other player does.
cycle
A pattern that repeats in the same order, such as 7, 9, 3, 1, 7, 9, 3, 1, ...
conjecture
A statement you think is true, based on evidence, but have not proved yet.

Why play games in math class?

The B.C. curriculum asks students to develop thinking strategies to solve puzzles and play games. Games are a safe place to try ideas: you can test a plan, lose, change it and play again. The strategies you build, such as working backwards, trying a smaller case and looking for a cycle, are the same ones you use on harder problems.

The game of 21

Place 21 counters on a table. Two players take turns removing 1, 2 or 3 counters. The player who takes the last counter wins. Is there a way to always win?

Counters left on your turnCan you win?Why
1, 2 or 3YesTake them all.
4NoWhatever you take (1, 2 or 3), your opponent can take the rest.
5, 6 or 7YesTake 1, 2 or 3 to leave your opponent 4.
8NoAny move leaves 5, 6 or 7, so your opponent can leave you 4.
9, 10 or 11YesLeave your opponent 8.
Working backwards from the end of the game: multiples of 4 are losing positions for the player whose turn it is.
take 1then five groups of 421 = 1 + 4 + 4 + 4 + 4 + 4
21 counters: take 1 first, and the other 20 split into five groups of 4.
Worked example

Example 1: A winning strategy for 21

Find a strategy for the game of 21 that always wins. Should you go first or second?

  1. Working backwards (see the table), you want to leave your opponent a multiple of 4: 20, 16, 12, 8, 4, 0.
  2. 21 is not a multiple of 4, so go first and take 1 counter, leaving 20.
  3. After that, whenever your opponent takes k counters (1, 2 or 3), you take 4 − k. Each round removes exactly 4.
  4. Check: 20 → 16 → 12 → 8 → 4 → 0. You always take the last counter.

Go first, take 1, then always take 4 minus what your opponent took.

Worked example

Example 2: The last digit of a huge power

What is the last (ones) digit of 7²⁰²⁶? (No calculator can show the whole number on its screen.)

  1. Try smaller cases: 7¹ = 7, 7² = 49, 7³ = 343, 7⁴ = 2401, 7⁵ = 16 807.
  2. The last digits go 7, 9, 3, 1, 7, ... and repeat in a cycle of 4, because only the last digit affects the next last digit.
  3. Divide the exponent by 4: 2026 = 4 × 506 + 2. The remainder is 2.
  4. A remainder of 2 matches 7², which ends in 9.

7²⁰²⁶ ends in 9.

Make it smaller

When a puzzle is too big, solve a smaller version first: 5 counters instead of 21, or 7² instead of 7²⁰²⁶. Look for a pattern, make a conjecture, then test it on the next case.

Hands-on activity

Change the rules

Play the game of 21 with someone at home until you can win every time when you have the first move.

Then change one rule: players may take 1 to 4 counters, and you start with 30. Work backwards to find the new losing positions. Should you go first or second now? Write your strategy in your problem journal so that someone else could follow it.

Just for fun

Puzzle: in the Tower of Hanoi puzzle, you move a stack of discs from one peg to another, one disc at a time, never putting a larger disc on a smaller one. With n discs, the fewest moves is 2ⁿ − 1. For 3 discs that is 7 moves; for 64 discs it is more than 18 quintillion.

Your turn

1

In the game of 21 (take 1 to 3), it is your turn and 13 counters are left. How many should you take?

2

It is your turn and 15 counters are left. How many should you take?

3

It is your turn and 12 counters are left, and your opponent knows the strategy. What happens?

4

New rules: take 1 to 4 counters, start with 30. Should you go first or second?

5

What is the last digit of 3¹⁰⁰?

6

What is the last digit of 2³⁵?

More practice

1

What is the last digit of 9⁵¹?

2

What is the last digit of 4²⁰?

3

Which is larger, 2¹⁰⁰ or 10³⁰? Use 2¹⁰ = 1024.

4

How many moves does the Tower of Hanoi need with 5 discs?

Check your understanding

Quiz

1.

In the game of 21 (take 1, 2 or 3; last counter wins), what should you always leave for your opponent?

2.

What is the last digit of 7¹⁰?

3.

Which strategy starts at the end of a game and reasons back to the start?

4.

What is the last digit of 2²⁰?

For parents and teachers

Your teen is using games and puzzles to build thinking strategies: working backwards, trying a smaller case, and spotting cycles. These are part of the B.C. Curricular Competencies.

How to help: play the game of 21 together. Don't explain the strategy; lose on purpose a few times and ask Why do you think you won? Card and board games with planning (such as cribbage or chess) build the same habits.

Common mistakes: guessing a pattern from only two cases; forgetting that a remainder of 0 matches the last number in a cycle (for example 3¹⁰⁰ ends like 3⁴, not 3¹).