Can you solve the stolen rubies riddle? - Dennis Shasha

3,723,869 views ・ 2018-10-25

TED-Ed


请双击下面的英文字幕来播放视频。

翻译人员: Ch'ng Tsu Pang 校对人员: Carol Wang
王国里有一位超级富商,
00:07
One of the kingdom’s most prosperous merchants
0
7050
2721
00:09
has been exposed for his corrupt dealings.
1
9771
3620
被爆涉及不法交易。
00:13
Nearly all of his riches
2
13391
1550
他将几乎全部身家
00:14
are invested in a collection
3
14941
1660
都兑换成了收藏品,
00:16
of 30 exquisite Burmese rubies,
4
16601
2900
就是 30 颗价值连城的缅甸红宝石,
00:19
and the crowd in the square
5
19501
1690
广场上聚集了大量百姓,
00:21
is clamoring for their confiscation
6
21191
2070
强烈要求没收宝石
00:23
to reimburse his victims.
7
23261
2300
以赔偿受害者。
00:25
But the scoundrel and his allies at court
8
25561
2570
奸商与法庭里的同谋串通,
00:28
have made a convincing case
9
28131
1610
成功证明
00:29
that at least some of his wealth
10
29741
1710
他至少有部分财富
00:31
was obtained legitimately,
11
31451
1740
是通过合法手段、
00:33
and through good service to the crown.
12
33191
2700
全心全意为国王服务所得。
00:35
The king ponders for a minute
13
35891
1689
国王寻思片刻,
00:37
and announces his judgment.
14
37580
1720
作出裁决:
00:39
Because there’s no way to know
15
39300
1620
因为无从得知
00:40
which portion of the rubies were bought with ill-gotten wealth,
16
40920
3610
哪些宝石是用不义之财买的,
00:44
the fine will be determined through a game of wits between the merchant
17
44530
4210
所以我决定通过斗智游戏 来决定该充公多少宝石,
与商人斗智的对手是 国王最聪明的参谋——你。
00:48
and the king’s most clever advisor – you.
18
48740
3650
00:52
You’re both told the rules in advance.
19
52390
2270
你和商人都事先知道了游戏规则,
00:54
The merchant will be allowed to discreetly divide his rubies
20
54660
3230
商人可以秘密地将宝石
00:57
among three boxes, which will then be placed in front of you.
21
57890
4640
分别装进三个箱子里, 再把箱子搬到你面前。
01:02
You will be given three cards,
22
62530
1850
然后,给你三张卡片,
01:04
and must write a number between 1 and 30 on each,
23
64380
4140
你必须在三张卡片上 分别写出 1 到 30 中的数字,
01:08
before putting a card in front of each of the boxes.
24
68520
3560
再将卡片分别放在三个箱子前,
01:12
The boxes will then all be opened.
25
72080
2980
然后,打开箱子。
01:15
For each box, you will receive exactly
26
75060
2400
如果你写的数字
01:17
as many rubies as the number written on the corresponding card,
27
77460
3970
等于或者少过箱中宝石的数量,
01:21
if the box has that many.
28
81430
2400
你就会拿到和该数字相同数量的宝石。
01:23
But if your number is greater than the number of rubies actually there,
29
83830
3960
但如果数字多过箱中宝石,
01:27
the scoundrel gets to keep the entire box.
30
87790
3120
则奸商得以留住整箱的宝石。
01:30
The king puts just two constraints on how the scoundrel distributes his rubies.
31
90910
5930
国王要求奸商遵守两个分宝石原则:
01:36
Each box must contain at least two rubies
32
96840
3501
每个箱子必须至少有两颗宝石,
01:40
and one of the boxes must contain exactly six more rubies than another—
33
100341
4980
且一个箱子的宝石数量必须 比另一个箱子多出六颗——
01:45
but you won’t know which boxes those are.
34
105321
3320
但你不知道到底是哪个箱子。
01:48
After a few minutes of deliberation,
35
108641
2006
只见奸商沉思了几分钟,
01:50
the merchant hides the gems, and the boxes are brought in front of you.
36
110647
4120
便将宝石分别藏好, 然后把箱子带到你眼前。
01:54
Which numbers should you choose
37
114767
1841
你应该写下什么数字
01:56
in order to guarantee the largest possible fine for the scoundrel
38
116608
3874
好让奸商得到最大的惩罚,
02:00
and the greatest compensation for his victims?
39
120482
2648
也让受害者得到最多的补偿呢?
02:03
Pause the video now if you want to figure it out for yourself.
40
123130
4430
[想尝试解题者,请暂停视频]
02:07
Answer in 3
41
127560
937
[答案 3 秒后揭晓]
02:08
Answer in 2
42
128497
1144
[答案 2 秒后揭晓]
02:09
Answer in 1
43
129641
1790
[答案 1 秒后揭晓]
02:11
You don’t want to overshoot by being too greedy.
44
131436
3050
如果太贪心,可能会得不偿失,
02:14
But there is a way you can guarantee
45
134486
2150
但有一个方法可以保证你
02:16
to get more than half of the scoundrel’s stash.
46
136636
3370
至少获得奸商一半以上的赃物。
02:20
The situation resembles an adversarial game like chess –
47
140006
4020
这跟国际象棋类的对弈游戏很像——
02:24
only here you can’t see the opponent’s position.
48
144026
3650
只不过这里你看不到对手的出招。
02:27
To figure out the minimum number of rubies you’re guaranteed to win,
49
147676
3680
想算出至少可以稳获多少宝石,
02:31
you need to look for the worst case scenario,
50
151356
2730
你需要设想一下最糟的情况,
02:34
as if the merchant already knew your move
51
154086
2420
假设奸商已知道你会怎么做,
02:36
and could arrange the rubies to minimize your winnings.
52
156506
3840
而且能事先排好宝石, 把你的胜算降至最低。
02:40
Because you have no way of knowing which boxes will have more or fewer rubies,
53
160346
4450
因为你无从得知哪个箱子 宝石较多,哪个较少,
02:44
you should pick the same number for each.
54
164796
2840
你应该选择三个一样的号码。
02:47
Suppose you write three 9’s.
55
167636
2090
假设你写下三个 9,
02:49
The scoundrel might have allocated the rubies as 8, 14 and 8.
56
169726
4710
而奸商把宝石分成 8,14 和 8,
02:54
In that case, you’d receive 9 from the middle box and no others.
57
174436
4810
那么,你就只能取得 中间箱子的 9 颗宝石。
02:59
On the other hand, you can be sure that at least two boxes
58
179246
3370
而另一方面,你可以 确定至少有两个箱子
03:02
have a minimum of 8 rubies.
59
182616
2131
有至少 8 颗以上的宝石。
03:04
Here’s why.
60
184747
1120
原因如下:
03:05
We’ll start by assuming the opposite,
61
185867
2307
我们不妨从反面开始推想,
03:08
that two boxes have 7 or fewer.
62
188174
2710
若有两个箱子的宝石小于或等于 7 颗,
03:10
Those could not be the two that differ by 6,
63
190884
2510
则这它俩的宝石之差就不会是 6 颗,
03:13
because every box must have at least 2 rubies.
64
193394
3400
因为每个箱子至少会有 2 颗宝石。
03:16
In that case, the third box would have at most 13 rubies—that’s 7 plus 6.
65
196794
6878
这么一来,第三个箱子至多 有 13 颗宝石——也就是 7 加 6。
03:23
Add up all three of those boxes,
66
203672
2170
把这三个箱子的宝石数加起来
03:25
and the most that could equal is 27.
67
205842
2900
最多只能得到 27,
03:28
Since that’s less than 30,
68
208742
1734
也就是少于 30,
03:30
this scenario isn’t possible.
69
210476
1910
这是不可能发生的。
03:32
You now know, by what’s called a proof by contradiction,
70
212386
3310
通过这个反证法,
03:35
that two of the boxes have 8 or more rubies.
71
215696
3660
你得出有两个箱子 装有 8 颗或以上的宝石。
03:39
If you ask for 8 from all three boxes
72
219356
2717
只要三个箱子都写上 8,
03:42
you’ll receive at least 16—
73
222073
2310
那么你至少会得到 16 颗——
03:44
and that’s the best you can guarantee,
74
224383
2200
这也是你稳操胜券的最好结果,
03:46
as you can see by thinking again about the 8, 14, 8 scenario.
75
226583
5160
再次检视8,14,8的情形, 你的选择也是最好结果。
你已成功取回奸商半数以上的财产,
03:51
You’ve recovered more than half the scoundrel’s fortune
76
231743
2760
03:54
as restitution for the public.
77
234503
2130
并还之于民。
03:56
And though he’s managed to hold on to some of his rubies,
78
236633
3270
奸商纵使设法保住了一些宝石,
03:59
his fortune has definitely lost some of its shine.
79
239903
3820
但其财富无疑已大不如前了。
关于本网站

这个网站将向你介绍对学习英语有用的YouTube视频。你将看到来自世界各地的一流教师教授的英语课程。双击每个视频页面上显示的英文字幕,即可从那里播放视频。字幕会随着视频的播放而同步滚动。如果你有任何意见或要求,请使用此联系表与我们联系。

https://forms.gle/WvT1wiN1qDtmnspy7