Can you solve the passcode riddle Ganesh Pai

In this dystopian world, your resistance
group is humanity’s last hope.

Unfortunately, you’ve all been captured
by the tyrannical rulers

and brought to the ancient colosseum
for their deadly entertainment.

Before you’re thrown into the dungeon,

you see many numbered hallways
leading outside.

But each exit is blocked by
an electric barrier

with a combination keypad.

You learn that one of you will be allowed
to try to escape by passing a challenge

while everyone else will be fed to
the mutant salamanders the next morning.

With her perfect logical reasoning,
Zara is the obvious choice.

You hand her a concealed audio transmitter
so that the rest of you can listen along.

As Zara is led away,

you hear her footsteps echo
through one of the hallways,

then stop.

A voice announces
that she must enter a code

consisting of three positive whole numbers
in ascending order,

so the second number is greater than
or equal to the first,

and the third is greater than
or equal to the second.

She may ask for up to three clues,

but if she makes a wrong guess,

or says anything else,

she’ll be thrown back into the dungeon.

For the first clue, the voice says
the product of the three numbers is 36.

When Zara asks for the second clue,

it tells her the sum of the numbers

is the same as the number
of the hallway she entered.

There’s a long silence.

You’re sure Zara remembers
the hallway number,

but there’s no way for you to know it,

and she can’t say it outloud.

If Zara could enter the passcode
at this point, she would,

but instead, she asks for the third clue,

and the voice announces that the largest
number appears only once

in the combination.

Moments later, the buzz of the electric
barrier stops for a few seconds,

and you realize that Zara has escaped.

Unfortunately, her transmitter
is no longer in range,

so that’s all the information you get.

Can you find the solution?

Pause on the next screen
to work out the solution.

3

2

1

You’re worried about the fact that you
don’t know Zara’s hallway number,

but you decide to start
from the beginning anyways.

From the first clue, you work out all of
the eight possible combinations

that come out to a product of 36.

One of these must be right,
but which one?

Now comes the hard part.

Even though you don’t know which number
you’re looking for,

you decide to work out the sum
of each combination’s three numbers.

That’s when it hits you.

All but two of the sums are unique,

and if the hallway number had matched
any of these,

Zara would have known the correct
combination right then and there

without asking for the third clue.

Since she did ask for the clue,

the hallway number must have
matched the only sum

that appears more than once in the list:

thirteen.

But which of the two combinations
that add up to thirteen is correct:

1,6,6,

or 2,2,9?

That’s where the third clue comes in.

Since it tells us that the largest
number must be unique,

2,2,9 must be the code.

When night falls, you and the others
escape through hallway thirteen

and rejoin Zara outside.

You’ve freed yourselves through
math and logic.

Now it’s time to free
the rest of the world.

在这个反乌托邦的世界里,你们的抵抗
组织是人类最后的希望。

不幸的是,你们都
被暴虐的统治者俘虏

并带到古老的斗兽场
进行致命的娱乐。

在你被扔进地牢之前,

你会看到许多
通往外面的编号走廊。

但是每个出口都被
带有组合键盘的电子屏障阻挡

你了解到,你们中的一个人将被允许
通过挑战尝试逃脱,

而其他人将
在第二天早上被喂给突变蝾螈。

凭借她完美的逻辑推理,
Zara 是显而易见的选择。

你递给她一个隐藏的音频发射器,
这样你们其他人就可以听。

当 Zara 被带走时,

你听到她的脚步声
在其中一个走廊里回荡,

然后停了下来。

一个声音
宣布她必须输入一个

由三个正整数升序组成的代码

所以第二个数字大于
或等于第一个

,第三个大于
或等于第二个。

她可能会要求最多三个线索,

但如果她猜错了,

或者说了什么其他话,

她会被扔回地牢。

对于第一个线索,声音说
三个数字的乘积是 36。

当 Zara 要求第二个线索时,

它告诉她这些数字的总和与

她进入的走廊号码相同。

有很长的沉默。

你确定 Zara
记得走廊号码,

但你无法知道它,

而且她不能大声说出来。

如果 Zara 可以此时输入密码
,她会输入密码,

但相反,她要求提供第三条线索,

然后声音宣布最大的
数字仅

在组合中出现一次。

片刻之后,电子屏障的嗡嗡声
停止了几秒钟

,你意识到 Zara 已经逃脱了。

不幸的是,她的发射
器不再在范围内,

所以这就是你得到的所有信息。

你能找到解决办法吗?

在下一个屏幕上暂停
以制定解决方案。

3

2

1

你担心你
不知道 Zara 的走廊号码,

但你还是决定
从头开始。

从第一条线索开始,你计算出
所有 8 种可能的组合

,得出 36 的乘积。

其中一个肯定是对的,
但哪一个?

现在是困难的部分。

即使您不知道
要查找的数字,

您还是决定计算
出每个组合的三个数字的总和。

那就是它击中你的时候。

除了两个之外,所有数字都是唯一的

,如果走廊号码与其中
任何一个相匹配,

Zara 就会立即知道正确的
组合,

而无需询问第三条线索。

既然她确实要求提供线索,

那么走廊号码肯定

列表中出现不止一次的唯一总和相匹配:

十三。

但加起来为 13 的两种组合中哪一种
是正确的:

1、6、6 还是 2、2、9?

这就是第三条线索的来源。

因为它告诉我们最大的
数字必须是唯一的,

所以 2,2,9 必须是代码。

夜幕降临时,你和其他人
从 13 号走廊逃脱,

并在外面重新加入 Zara。

你已经通过
数学和逻辑解放了自己。

现在是
解放世界其他地方的时候了。