Can you solve the locker riddle Lisa Winer

Your rich, eccentric uncle
just passed away,

and you and your 99 nasty relatives have
been invited to the reading of his will.

He wanted to leave
all of his money to you,

but he knew that if he did,
your relatives would pester you forever.

So he is banking on the fact

that he taught you everything
you need to know about riddles.

Your uncle left the following
note in his will:

“I have created a puzzle.

If all 100 of you answer it together,
you will share the money evenly.

However, if you are the first to find
the pattern and solve the problem

without going through all of the leg work,

you will get the entire inheritance
all to yourself.

Good luck.”

The lawyer takes you and your 99 relatives
to a secret room in the mansion

that contains 100 lockers,

each hiding a single word.

He explains:

Every relative is assigned a number
from 1 to 100.

Heir 1 will open every locker.

Heir 2 will then
close every second locker.

Heir 3 will change the status
of every third locker,

specifically if it’s open,
she’ll close it,

but if it’s closed, she’ll open it.

This pattern will continue until
all 100 of you have gone.

The words in the lockers that remain
open at the end

will help you crack the code for the safe.

Before cousin Thaddeus can even start
down the line,

you step forward and tell the lawyer
you know which lockers will remain open.

But how?

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

Answer in: 3

Answer in: 2

Answer in: 1

The key is realizing that the number
of times a locker is touched

is the same as the number of factors
in the locker number.

For example, in locker #6,

Person 1 will open it,

Person 2 will close it,

Person 3 will open it,

and Person 6 will close it.

The numbers 1, 2, 3, and 6
are the factors of 6.

So when a locker has an even number
of factors

it will remain closed,

and when it has an odd number of factors,

it will remain open.

Most of the lockers
have an even number of factors,

which makes sense because factors
naturally pair up.

In fact, the only lockers that have
an odd number of factors

are perfect squares

because those have one factor that when
multiplied by itself equals the number.

For Locker 9, 1 will open it,

3 will close,

and 9 will open it.

3 x 3 = 9,

but the 3 can only be counted once.

Therefore, every locker that is
a perfect square will remain open.

You know that these ten lockers
are the solution,

so you open them immediately
and read the words inside:

“The code is the first five lockers
touched only twice.”

You realize that the only lockers
touched twice have to be prime numbers

since each only has two factors:

1 and itself.

So the code is 2-3-5-7-11.

The lawyer brings you to the safe,

and you claim your inheritance.

Too bad your relatives were always
too busy being nasty to each other

to pay attention
to your eccentric uncle’s riddles.

你富有而古怪的叔叔
刚刚去世

,你和你的99个讨厌的亲戚
被邀请阅读他的遗嘱。

他想把他
所有的钱都留给你,

但他知道如果他这样做了,
你的亲戚会永远纠缠你。

所以他寄希望于这样一个事实

,即他教会了你所有
你需要知道的关于谜语的知识。

你的叔叔
在遗嘱中留下了以下字条:

“我创造了一个谜题,

如果你们100个一起回答,
你将平分钱。

但是,如果你是第一个
找到模式并解决问题

的人 通过所有的腿部工作,

您将获得全部遗产

祝你好运。

律师将你和你的 99 位亲戚
带到豪宅的一个密室

,里面有 100 个储物柜,

每个储物柜都藏着一个字。

他解释说:

每个亲属都被分配了一个
从 1 到 100 的数字。

继承人 1 将打开每个储物柜。

然后,继承人 2 将
每隔一秒关闭一次储物柜。

继承人 3
每三个储物柜就会改变一次状态,

特别是如果它是打开的,
她会关闭它,

但如果它是关闭的,她会打开它。

这种模式将一直持续到
你们全部 100 人离开。

最后保持打开的储物柜中的文字

将帮助您破解保险箱的密码。

在堂兄 Thaddeus 甚至可以开始
下线之前,

您就上前告诉律师
您知道哪些储物柜将保持打开状态。

但是怎么做?

如果您
想自己解决问题,请立即暂停视频!

答案:3

答案:2

答案:

1 关键是要认识到,
一个储物柜被触摸的次数与储物柜

编号中的因素
数相同。

例如,在 6 号储物柜中,第

1 个人将打开它,第

2 个人将其关闭,第

3 个人将其打开,第

6 个人将其关闭。

数字 1、2、3 和 6
是 6 的因数。

因此,当储物柜的因数为偶数时

它会保持关闭状态,

而当储物柜的因数为奇数时,

它会保持打开状态。

大多数储物柜
都有偶数个因素,

这是有道理的,因为因素
自然配对。

事实上,唯一
具有奇数个因数的储物柜

是完全平方,

因为它们有一个因数
乘以自身等于该数。

对于储物柜 9,1 将打开它,

3 将关闭

,9 将打开它。

3 x 3 = 9,

但 3 只能数一次。

因此,每个
完美正方形的储物柜都将保持打开状态。

你知道这十个储物柜
是解决办法,

所以你立即打开它们
,读了里面的字:

“密码是前五个储物柜
只碰过两次。”

您意识到唯一
碰过两次的储物柜必须是素数,

因为每个储物柜只有两个因数:

1 和它自己。

所以代码是 2-3-5-7-11。

律师将您带到保险箱,

然后您要求继承。

太糟糕了,你的亲戚
总是忙着互相讨厌,没时间

注意你古怪的叔叔的谜语。