Humans have invaded the Cartesian plane! They have eliminated most of the native residents, the ants. The few remaining ants are tortured and experimented on. One of the ants, Brilli the ant, has broken out from a human jail.
Brilli the ant comes to the origin, where she learns from the Oracle that in order to fend the humans off, she has to steal an extremely powerful weapon known as the WolframAlpha which is located at a particular lattice point on the positive -axis. Meanwhile, the humans have located Brilli and have placed guards on every lattice point (points with integer coordinates). In order to avoid getting detected by the motion sensors set up by humans, Brilli can't move along any line parallel to either of the axes. Each minute, she can
Furthermore, she has to bribe every guard she comes across, so every time she takes a move, she has to spend To avoid suspicion, she can't visit the same point more than once. Also, since the second, third, and fourth quadrants are heavily guarded by humans, Brilli the ant has to stay entirely within the first quadrant (she can touch the - and -axes, though).
Ironically, the shorter the route Brilli takes to the WolframAlpha, the greater the chances are of humans detecting her, so she takes the longest route possible. If at any point she runs out of money, she is caught by humans because humans rarely show any act of compassion unless bribed.
Suppose Brilli has in her pocket, so she can visit points at most. The WolframAlpha is located at point where is a positive integer.
Find the largest value of such that no matter which route Brilli the ant takes (she takes the longest possible route, remember?), she ends up at the WolframAlpha with a positive amount of money.
Details and assumptions
To be specific, if Brilli is on the point after her next move, she can move to any of the points or given that they lie on the first quadrant or one of the axes.
Brilli doesn't have to bribe the guard at the origin, but she has to bribe the guard who is guarding the point
As an explicit example, in the following figure (where the red point denotes the origin), Brilli the ant travels from the origin to the point in four moves. For this journey, she has to spend
No ants or humans were harmed in the making of this movie... err, sorry, problem.
The ending of this problem is intentionally left vague. You can, however, assume that ants win the game once Brilli makes it to the WolframAlpha.
This problem was inspired by a previous Brilliant problem.
There was a mistake in the original wording. I'm terribly sorry for this inconvenience.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!