Can you solve the stolen rubies riddle Dennis Shasha

One of the kingdom’s
most prosperous merchants

has been exposed for his corrupt dealings.

Nearly all of his riches

are invested in a collection

of 30 exquisite Burmese rubies,

and the crowd in the square

is clamoring for their confiscation

to reimburse his victims.

But the scoundrel and his allies at court

have made a convincing case

that at least some of his wealth

was obtained legitimately,

and through good service to the crown.

The king ponders for a minute

and announces his judgment.

Because there’s no way to know

which portion of the rubies
were bought with ill-gotten wealth,

the fine will be determined through
a game of wits between the merchant

and the king’s most clever advisor – you.

You’re both told the rules in advance.

The merchant will be allowed to
discreetly divide his rubies

among three boxes, which
will then be placed in front of you.

You will be given three cards,

and must write a number
between 1 and 30 on each,

before putting a card in
front of each of the boxes.

The boxes will then all be opened.

For each box, you will receive exactly

as many rubies as the number written
on the corresponding card,

if the box has that many.

But if your number is greater than
the number of rubies actually there,

the scoundrel gets to keep the entire box.

The king puts just two constraints on how
the scoundrel distributes his rubies.

Each box must contain at least two rubies

and one of the boxes must contain
exactly six more rubies than another—

but you won’t know which boxes those are.

After a few minutes of deliberation,

the merchant hides the gems,
and the boxes are brought in front of you.

Which numbers should you choose

in order to guarantee the largest possible
fine for the scoundrel

and the greatest compensation
for his victims?

Pause the video now if you want
to figure it out for yourself.

Answer in 3

Answer in 2

Answer in 1

You don’t want to overshoot
by being too greedy.

But there is a way you can guarantee

to get more than half of the scoundrel’s
stash.

The situation resembles an
adversarial game like chess –

only here you can’t see the
opponent’s position.

To figure out the minimum number of rubies
you’re guaranteed to win,

you need to look for the worst case
scenario,

as if the merchant already knew your move

and could arrange the rubies
to minimize your winnings.

Because you have no way of knowing which
boxes will have more or fewer rubies,

you should pick the same number for each.

Suppose you write three 9’s.

The scoundrel might have allocated the
rubies as 8, 14 and 8.

In that case, you’d receive 9 from the
middle box and no others.

On the other hand, you can be
sure that at least two boxes

have a minimum of 8 rubies.

Here’s why.

We’ll start by assuming the opposite,

that two boxes have 7 or fewer.

Those could not be the two that
differ by 6,

because every box must have
at least 2 rubies.

In that case, the third box would have at
most 13 rubies—that’s 7 plus 6.

Add up all three of those boxes,

and the most that could equal is 27.

Since that’s less than 30,

this scenario isn’t possible.

You now know, by what’s called
a proof by contradiction,

that two of the boxes have
8 or more rubies.

If you ask for 8 from all three boxes

you’ll receive at least 16—

and that’s the best you can guarantee,

as you can see by thinking again
about the 8, 14, 8 scenario.

You’ve recovered more than half the
scoundrel’s fortune

as restitution for the public.

And though he’s managed to hold
on to some of his rubies,

his fortune has definitely
lost some of its shine.

王国
最繁荣的商人

之一因腐败交易而被曝光。

他几乎所有的财富

都投资在

了 30 颗精美的缅甸红宝石上,

广场上的人群

争相要求没收这些红宝石

以补偿他的受害者。

但是这个恶棍和他在法庭上的盟友

提出了一个令人信服的理由

,即他至少有一部分财富

通过对王室的良好服务而合法获得的。

国王沉思了一分钟

,宣布了他的判断。

因为无法知道

红宝石的哪一部分
是用不义之财购买的,

所以罚款将通过
商人

和国王最聪明的顾问——你之间的博弈来确定。

你们俩都事先被告知了规则。

商人将被允许
谨慎地将他的红宝石分成

三个盒子,
然后将它们放在您面前。

您将获得三张卡片,

并且必须
在每张卡片上写一个 1 到 30 之间的数字,

然后再将一张卡片放在
每个盒子的前面。

然后这些盒子将全部打开。

对于每个盒子,如果盒子有那么多,您将收到与相应卡片上

写的数字一样多的红宝石

但是,如果您的数量大于
实际存在的红宝石数量,

那么流氓就可以保留整个盒子。

国王
对流氓如何分配他的红宝石只有两个限制。

每个盒子必须至少包含两颗红宝石

,其中一个盒子必须
比另一个盒子多包含六颗红宝石——

但你不会知道那些是哪些盒子。

商量了几分钟后

,商人把宝石藏了起来
,盒子被带到了你面前。

你应该选择哪个数字

来保证对恶棍的最大可能
罚款


对他的受害者的最大赔偿?

如果您想
自己弄清楚,请立即暂停视频。

回答 3

回答 2

回答 1

您不想因过于贪婪而过冲

但是有一种方法可以保证你

得到超过一半的恶棍
藏匿处。

这种情况
类似于国际象棋之类的对抗性游戏——

只是在这里你看不到
对手的位置。

要确定您保证赢得的红宝石的最小数量

您需要寻找最坏的
情况,

就好像商家已经知道您的举动

并可以安排红宝石
以最大限度地减少您的奖金。

因为您无法知道哪些
盒子会有更多或更少的红宝石,所以

您应该为每个盒子选择相同的数字。

假设你写了三个 9。

流氓可能将
红宝石分配为 8、14 和 8。

在这种情况下,你会从
中间的盒子中收到 9,而没有其他的。

另一方面,您
可以确定至少有两个

盒子至少有 8 颗红宝石。

这就是为什么。

我们将从假设相反的情况开始,

即两个盒子有 7 个或更少。

这些不可能是相差 6 的两个,

因为每个盒子必须
至少有 2 颗红宝石。

在这种情况下,第三个盒子
最多有 13 颗红宝石——即 7 加 6。

将所有这三个盒子相加

,最多可以等于 27。

由于小于 30,

因此这种情况是不可能的。

您现在知道,通过所谓
的反证法,

其中两个盒子有
8 颗或更多红宝石。

如果您从所有三个盒子中要求 8 个,

您将至少收到 16 个

——这是您可以保证的最好结果,

正如您通过再次考虑 8、14、8 场景所看到的那样

你已经收回了流氓一半以上
的财产,

作为对公众的赔偿。

尽管他设法保住
了一些红宝石,但

他的财富肯定已经
失去了一些光彩。