Can you solve the rogue submarine riddle? - Alex Rosenthal

1,487,840 views ・ 2021-09-23

TED-Ed


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

翻译人员: Ashley Wu 校对人员: Helen Chang
00:07
Smuggling yourself aboard the rogue submarine was the easy part.
0
7663
3875
偷溜上离群的潜水艇是最容易的一步。
00:11
Hacking into the nuclear missile launch override— a little harder.
1
11538
3583
黑进核导弹发射超控就有些难度了。
00:15
But now you’ve got a problem: you don’t have the override code.
2
15246
4208
但是有个问题:你不知道 用来阻止发射的密码。
00:19
You know you need the same two numbers
3
19746
2125
你知道需要输入 混乱之敌特刚用来
00:21
that the agents of chaos just used to authorize the launch.
4
21871
3875
开启发射的两个数字。
00:25
But one wrong answer will lock you out.
5
25913
2583
可是答错一次,超控就会上锁。
00:28
From your hiding spot, you’ve been able to learn the following:
6
28704
3292
你从隐藏的地方获得了以下的信息:
00:32
The big boss didn’t trust any minion with the full information
7
32454
4250
老大不够信任他的走狗们,
00:36
to launch nuclear missiles on their own.
8
36704
2417
所以没把用来开启发射的全部信息 交给任何一个走狗。
00:39
So he gave one launch code to Minion A, the other to minion B,
9
39121
4583
于是他把开启密码的其中一个 交给走狗A,另外的交给走狗B,
00:43
and forbade them to share the numbers with each other.
10
43704
2833
并且禁止他们两互相分享密码。
00:47
When the order came,
11
47537
1292
老大命令下来后,
00:48
each entered their own number and activated the countdown.
12
48829
3542
他们各自输入了自己的密码, 启动了倒计时。
00:52
That was 50 minutes ago,
13
52704
2125
那已经是50分钟前的事了。
00:54
and there's only 10 minutes left before the missiles launch.
14
54829
3125
距离导弹发射只剩下10分钟。
00:58
Suddenly, the boss says, “Funny story— your launch codes were actually related.
15
58371
5333
老大突然道,“跟你们说件好笑的事情。 你们的开启密码其实是相关的。”
01:03
I chose a set of distinct positive integers with at least two elements,
16
63704
5000
我选择了一组至少有两个元素的 不同正整数,各自小于 7,
01:08
each less than 7, and told their sum to you, A, and their product to you, B.”
17
68704
6084
把总和告诉了A,把乘积告诉了B。
01:15
After a moment of awkward silence, A says to B,
18
75246
3750
尴尬的一瞬间后,A对B说:
01:18
“I don’t know whether you know my number.”
19
78996
2250
“不知道你知不知道我的数字是多少。”
01:21
B thinks this over, then responds,
20
81246
2792
B想了想,回答道:
01:24
“I know your number, and now I know you know my number too.”
21
84038
4041
“我知道你的数字是多少, 现在也知道你也知道我的数字。”
01:28
That’s all you’ve got.
22
88788
1416
你获得的信息就这么多。
01:30
What numbers do you enter to override the launch?
23
90204
3125
输入什么数字才能阻止发射?
01:33
Pause now to figure it out for yourself. Answer in 3
24
93496
3125
想自己解答就请暂停视频。 3秒后公布答案
01:36
Answer in 2
25
96621
2583
2秒后公布答案
01:39
Answer in 1
26
99204
1625
1秒后公布答案
01:40
Ignorance-based puzzles like this are notoriously difficult to work through.
27
100913
4791
像这样一个建立在无知的基础的谜题 是出了名的难解。
01:45
The trick is to put yourself in the heads of both characters
28
105954
3625
解题的窍门是通过两人的角度想,
01:49
and narrow down the possibilities based on what they know or don’t know.
29
109579
4417
然后根据他们知道和不知道的事 缩小可能性的范围。
01:54
So let's start with A's first statement.
30
114496
2292
先从A说的第一句话开始吧。
01:56
It means that B could conceivably have something with the potential
31
116788
4166
那代表B可能知道一件
02:00
to reveal A’s number, but isn’t guaranteed to.
32
120954
3292
有可能能透漏A的数字是多少的事,
但是不一定。
02:05
That doesn’t sound very definitive, but it can lead us to a major insight.
33
125121
4167
这听起来并不能确定, 却能使我们达到极重要的见解。
02:09
The only scenarios where B could know A’s number
34
129496
3542
仅当B的数字只有一种 因数分解方式的时候
02:13
are when there’s exactly one valid way to factor B’s number.
35
133038
4208
B才会知道A的数字的大小。
02:17
Try factoring a few and you’ll find the pattern—
36
137579
2500
你通过尝试整除几个数就会发现规律。
02:20
It could be prime— where the product must be of 1 and itself—
37
140079
4000
可能会是素数——也就是说, 它的因式必须是一和那个数字。
02:24
or it could be the product of 1 and the square of a prime, such as 4.
38
144246
4917
或者可能是一个有一和一个素数的二次方的因式,如四,的数字。
02:29
In both cases, there is exactly one sum.
39
149454
3125
在这两种情况下,正好有一个和数。
02:32
For a number like 8, factoring it into 2 and 4, or 1, 2, and 4,
40
152704
5709
把一个像八一样的数字整除成二和四或一,二,和四的话,
02:38
creates too many options.
41
158413
1708
就有太多可能性了。
02:40
Because the boss’s numbers must be less than 7,
42
160496
3458
因为老大的数字都小于七,
02:43
A’s list of B’s possibilities only has these 4 numbers.
43
163954
5584
A能列为有可能是B的数字 只包括这四个数字。
02:50
Here’s where we can conclude a major clue.
44
170204
2875
我们从此能判断出一个重要的线索。
02:53
To think B could have these numbers, A’s number must be a sum of their factors—
45
173079
6500
A的数字必定是B数字的因式的和, B才能是这些数字之一。
02:59
so 3, 4, 5, or 6.
46
179579
3042
也就是说是三,四,五,或六。
03:02
We can eliminate 3 and 4, because if the sum was either,
47
182704
3417
可以排除三和四,因为和数 如果是其中的一个数的话,
03:06
the product could only be 2 or 3,
48
186121
2583
那乘积就只能是二或三。
03:08
in which case A would know that B already knows A’s number,
49
188704
4125
在那种情况下,A就已经知道 B知道A的数字了,
03:12
contradicting A’s statement.
50
192829
1875
和A说的话恰恰相反。
03:15
5 and 6, however, are in play,
51
195454
2417
但是五和六都有可能,
03:17
because they can become sums in multiple ways.
52
197871
3000
因为这两个数字可以 以许多方式成为和。
03:21
The need to consider this is one of the most difficult parts of this puzzle.
53
201079
4292
考虑这个的需要就是 这个谜题最难的部分之一。
03:25
The crucial thing to remember is that there’s no guarantee
54
205371
3458
要记得的关键就是B的数字
03:28
that B’s number is on A’s list—
55
208829
2917
不一定在A列的数字里。
03:31
those are just the possibilities from A’s perspective
56
211746
2958
这些只是A觉得有可能的数字,
03:34
that would allow B to deduce A’s number.
57
214704
2584
B也就能借此推断出A的数字是多少。
03:38
That ambiguity forces us to go through unintuitive multi-step processes like:
58
218246
6042
这种模糊性迫使我们通过不直观、 多步骤的过程来考虑, 如:
03:44
consider a product, see what sums can result from its factors,
59
224288
4583
考量一个乘积,看看乘积的因式 加起来是什么和数,
03:49
then break those apart and see what products can result.
60
229371
4125
然后把那些和数分解成因式, 再找出因式的乘积。
03:53
We’ll soon have to do something similar going from sums to products
61
233913
3916
我们马上就要做一件相似的事,
03:57
and back to sums.
62
237829
1500
从和找到乘积,再回到和。
03:59
But now we know— when A made his first statement,
63
239454
3125
但我们现在知道A说出第一句话时,
04:02
he must have been holding either 5 or 6.
64
242579
3084
他的数字一定是五或六。
04:05
B has access to the same information we do,
65
245996
2958
B知道的信息和我们一样,
04:08
so he knows this too.
66
248954
1500
所以这他也知道。
04:10
Let’s review what’s in each brain at this point:
67
250704
2917
我们回顾一下大家现在都知道些什么:
04:13
everyone knows a lot about the sum, but only B knows the product.
68
253788
4208
大家都知道很多关系和数的信息, 但只有B知道乘积是多少。
04:18
Now let’s look at the first part of B’s statement.
69
258621
2833
现在看看B说的话的第一部分。
04:21
What if A’s number was 5?
70
261663
1875
A的数字要是是五呢?
04:23
That could be from 1+4 or 2+3,
71
263663
3125
那可能是一加四或二加三的结果。
04:26
in which case B would have either 4 or 6.
72
266788
3375
在这种情况下, B的数字不是四就是六。
04:30
4 would tell B what A had, like he said,
73
270913
3041
如果是四的话,B就知道 A的数字是什么了,
04:33
because there’s only one option to make the product: 4 times 1.
74
273954
4042
因为那样只有一种乘法,四乘以一。
04:38
6, on the other hand, could be broken down three ways, which sum like so.
75
278288
5375
六反而能以三种方法分解, 因式的和数如以上。
04:44
7 isn’t on B’s list of possible sums, but 5 and 6 both are.
76
284079
5209
B觉得有可能的和数不包括七, 但包括五和六。
04:49
Meaning that B wouldn’t know whether A’s number was 5 or 6,
77
289579
4834
那代表B就不知道 A的数字是五还是六了,
04:54
and we can eliminate this option because it contradicts his statement.
78
294413
3875
所以我们就能排除这个可能性, 因为和他说的话自相矛盾。
04:58
So this is great— 5 and 4 could be the override code,
79
298704
3792
那好,五和四可能就是密码,
05:02
but how do we know it's the only one?
80
302746
2458
但我们怎么才能确定是唯一一个?
05:06
Let’s consider if A’s number was 6—
81
306538
2916
假设A的数字是六,
05:09
which would be 1+5, 2+4, or 1+2+3,
82
309454
4334
也就是一加五,二加四, 或者一加二加三,
05:14
giving B 5, 8, or 6, respectively.
83
314038
3083
B的数字分别就是五,八,或六。
05:17
If B had 5, he’d know that A had 6.
84
317496
3458
B的数字如果是五, 他就会知道A的数字是六。
05:20
And if he had 8, the possibilities for A would be 2+4 and 1+2+4.
85
320954
6542
他的数字如果是八的话,
A的数字的可能性就是 二加四和一加二加四。
05:28
Only 6 is on the list of possible sums, so B would again know that A had 6.
86
328079
6459
只有六是有可能的和数之一, 所以B就又知道A的数字是六了。
05:35
To summarize, if A had 6,
87
335038
2666
总结一下,A的数字如果是六,
05:37
he still wouldn’t know whether B had 5 or 8.
88
337704
3625
他也不知道B的数字是五还是八。
05:41
That contradicts the second half of what B said,
89
341788
3250
这就与B说的话的后半段自相矛盾了,
05:45
and 5 and 4 must be the correct codes.
90
345038
3666
所以五和四一定就是正确的密码。
05:49
With seconds to spare you override the missile launch,
91
349413
3000
以几秒之差,你阻止了导弹发射,
05:52
shoot yourself out of the torpedo bay,
92
352413
2208
从鱼雷舱里射出去,
05:54
and send the sub to the bottom of the ocean.
93
354621
2583
还有让潜艇沉没到了海底。
关于本网站

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

https://forms.gle/WvT1wiN1qDtmnspy7