Can you solve the penniless pilgrim riddle Daniel Finkel

After months of travel,
you’ve arrived at Duonia,

home to the famous temple that’s
the destination of your pilgrimage.

Entering from the northwest,

you pass through the city gates
and the welcome center,

where you’re given a map and a brochure.

The map reveals that the town consists
of 16 blocks,

formed by five streets that
run west to east,

intersecting five more
that run north to south.

You’re standing on the
northernmost street facing east,

with the two blocks containing the gate
and the welcome center behind you.

The temple’s only entrance lies
at the very southeast corner.

It’s not a long walk,
but there’s a problem.

As you learn from the brochure,

Duonia imposes a unique tax
on all visitors,

which must be paid when they arrive
at their destination within the city.

The tax begins at zero,

increases by two silver
for every block you walk east,

and doubles for every block
you walk south.

However, a recent reform
to make the tax fairer

halves your total bill for
every block you walk north

and subtracts two silver
for every block you walk west.

Just passing through the gate
and the welcome center

means you already owe four silver.

As a pilgrim you carry no money
and have no way of earning any.

What’s more, the rules
of your pilgrimage forbid you

from walking over any stretch of
ground more than once during your journey—

though you can cross your own path.

Can you figure out a way to reach
the temple without owing any tax

or walking the same block twice
in any direction?

Pause here if you want
to figure it out for yourself.

Answer in: 3

Answer in: 2

Answer in: 1

You look at the map
to consider your options.

Walking towards the temple
always increases the tax,

and walking away decreases it,

so it seems like you can never reach it
without owing silver.

But what happens when you walk
around a single block?

If you start out owing four silver
and go clockwise starting east,

your tax bill becomes six,

then 12,

then 10,

then five.

If you looped again, you’d owe seven,

14,

12,

and six.

It seems that each clockwise loop leaves
you owing one extra silver.

What about a counterclockwise loop then?

Starting owing four again
and going south first,

your bill changes to eight,

10,

five,

and three.

Looping again you’d owe six,

eight,

four,

and two.

Each counterclockwise loop actually earns
you one silver.

That’s because any tax doubled,

plus two,

halved,

and minus two,

always ends up one smaller
than it started.

The key here is that while the different
taxes for opposite directions

may seem to balance each other out,

the order in which they’re applied
makes a huge difference.

You start off owing four silver,

so four counterclockwise loops would
get you down to zero.

Unfortunately, it’s not that simple,
since you can’t walk the same block twice.

But there’s another way
to reduce your bill:

walking one large counterclockwise loop
through the city.

From your starting position,
walk three blocks south.

You need to leave the southernmost
street clear for the final stretch,

so continuing counterclockwise
means going east.

Walk two blocks to the eastern wall
and you owe a whopping 36 silver.

But now you can start reducing your bill.

Three blocks north and one block west
cuts it to 2.5.

You can’t go west from here
—that would leave you with no way out.

So you go one block south,
and the remaining three blocks west,

leaving you with a debt
of -1 silver.

And since doubling a negative number
still gives you a negative number,

walking the three blocks to the south wall
means the city owes you eight.

Fortunately, that’s exactly enough

to get you through the final blocks
to the temple.

As you enter, you realize what
you’ve learned from your pilgrimage:

sometimes an indirect route
is the best way to reach your destination.

经过数月的旅行,
您已抵达多尼亚

,著名的寺庙所在地
就是您朝圣的目的地。

从西北进入,

您会经过城门
和欢迎中心,

在那里您会得到一张地图和一本小册子。

地图显示该镇
由 16 个街区

组成,由 5 条
西向东的街道组成,

与另外 5
条南北向的街道相交。

你站在
朝东的最北端街道

上,两个街区包含大门
和欢迎中心。

寺庙唯一的入口
位于东南角。

路程不长,
但有问题。

正如您从手册中了解到的那样,

Duonia 对所有游客征收独特的

税款,必须在他们抵达
城市内的目的地时支付。

税收从零开始,

每向东走一个街区,税收就增加两银,向南每走一个街区,税收就会

翻倍

然而,最近一项
使税收更加公平的改革将

您向北走的每个街区的总账单减半,

向西走的每个街区减去两银子。

刚过大门
和迎宾

中心,就已经欠四银子了。

作为一个朝圣者,你没有带钱
,也没有办法赚钱。

更重要的是
,你的朝圣规则禁止

你在旅途中多次走过任何一段土地——

尽管你可以穿过自己的路。

你能想出一个到达寺庙的方法,
而无需缴纳任何税款

或在同一街区
向任何方向走两次吗?

如果您想
自己弄清楚,请在此处暂停。

回答:3

回答:2

回答:1

您查看地图
以考虑您的选择。

往庙里走
总是加税

,走走减税

,好像不欠银子就永远达不到

但是当你绕着一个街区走时会发生什么

如果你开始欠四块银子
,然后从东边顺时针走,

你的税单变成六块,

然后是 12,

然后是 10,

然后是 5。

如果您再次循环,您将欠 7、14、12

和 6。

似乎每个顺时针循环都会让
您多欠一个银币。

那么逆时针循环呢?

再次开始欠四
并先向南,

您的账单变为八、

十、

和三。

再次循环,您将欠六、

八、

和二。

每个逆时针循环实际上为
您赢得一枚银币。

那是因为任何税收翻倍、

加二、

减半

和减二,

最终总是
比开始时小一。

这里的关键是,虽然
相反方向

的不同税收似乎相互平衡

,但它们的应用顺序却
产生了巨大的差异。

你开始欠四银,

所以四个逆时针循环
会让你降到零。

不幸的是,这并不是那么简单,
因为你不能两次走同一个街区。

但是还有另
一种减少账单的方法:在城市中

逆时针走一个大环路

从您的起始位置
向南走三个街区。

你需要离开最南端的
街道畅通无阻的最后一段,

所以逆时针继续
意味着向东走。

走两个街区到东墙
,你欠了 36 银币。

但是现在你可以开始减少你的账单了。

向北三个街区和向西一个街区
将其削减到 2.5。

你不能从这里往西走
——那会让你无路可走。

所以你向南走一个街区,
向西走剩下的三个街区,

留下
-1银子的债务。

既然负数加倍
仍然给你一个负数,

走三个街区到南墙
意味着这座城市欠你八个。

幸运的是,这

足以让您通过最后的街区
到达寺庙。

当您进入时,您会意识到
您从朝圣中学到了什么:

有时间接路线
是到达目的地的最佳方式。