初级Beginner可打印Printable

最后一枚硬币:倒着想就能赢

The Last Coin: Think Backward to Win

25 枚硬币,每次拿 1–3 枚,拿到最后一枚的赢。倒着想,就能找到必胜的方法。

25 coins, take 1 to 3 at a time, and whoever takes the last coin wins. Think backward and you find a way to always win.

25 枚硬币,两个人轮流拿,一次可以拿 1–3 枚,最后一个拿完的人赢。有没有必胜的方法?先拿的赢还是后拿的赢?

25 coins, two players take turns, 1 to 3 coins each turn, and whoever takes the last coin wins. Is there a way to always win? Should you go first or second?

孩子做什么What kids do

  1. 先玩再想:两人一组,在学习单印好的硬币上用铅笔划掉来玩,擦掉再玩。Play first: in pairs, cross out the coins on the worksheet in pencil, erase, and play again.
  2. 把问题变小:只剩 1、2、3 枚时轮到你,你会赢吗?4 枚呢?全班在白板上倒着推。Make it smaller: with 1, 2 or 3 coins left on your turn, do you win? With 4? The class works backward on the whiteboard.
  3. 找规律:哪些数字轮到你,你就一定会输?Find the pattern: which numbers make you lose if it is your turn?
  4. 变一变:拿到最后一枚的人输;或者一次可以拿 1–4 枚。Change the rules: whoever takes the last coin loses, or you may take 1 to 4 coins.
  5. 自己出题:设计一个“后手必胜”的游戏,去考同学。Make your own: design a game the second player always wins, and test a classmate.
  6. 火柴盒 AI:用纸杯和彩色珠子做一台会自己学会这个游戏的机器(1961 年的 MENACE)。Matchbox AI: build a machine of paper cups and colored beads that learns the game by itself (like MENACE, 1961).

要点Key idea

必输的数是 4 的倍数:对方拿几枚,你就拿几枚凑成 4。从最小的情况倒着推,叫倒推法,电脑下棋时做的也是这件事。

The losing numbers are multiples of 4: whatever the other player takes, you take enough to make 4. Working back from the smallest case is called backward induction, and a chess computer does the same thing.

和 AI 的关系Where AI comes in

表填得完就查表;填不完就往前看几步,再估一估。AlphaGo 自己和自己下棋,学会了估那张填不完的表。

If the win/lose table can be filled in, just look it up. If it can’t, look a few moves ahead and estimate. AlphaGo learned to estimate that endless table by playing against itself.

学习单Worksheets

学习单是英文的,打印出来给孩子;老师指南是中文的。

Worksheets are in English for the kids; the teacher’s guide is in Chinese.

Worksheet: six coin boards
学习单:6 局硬币棋盘Worksheet: six coin boards

下载学习单(PDF)Download worksheets (PDF)老师指南(PDF,中文)Teacher’s guide (PDF, Chinese)

视频与文章Videos and reading

接着学Keep going