Difference between revisions of "2020 CAMO Problems/Problem 6"

(Created page with "==Problem 6== Let <math>n</math> be a positive integer. Eric and a squid play a turn-based game on an infinite grid of unit squares. Eric's goal is to capture the squid by mov...")
 
Line 7: Line 7:
  
 
==Solution==
 
==Solution==
{{solution}}
+
First, we should note that there are some starting positions for which Eric can never win, if the squid starts first. For example, if Eric is right next to the squid, then he can just get covered entirely by black squares in 6 moves. In general, if we have a coordinate system with origin at the squid's starting position, with Eric's coordinates <math>x</math>, <math>y</math>, then they must be such that:
 +
 
 +
<math>x</math> <math>+</math> <math>y</math> <math>></math> <math>2013</math>, otherwise Eric can always be covered in the first turn.
 +
 
 +
Now, assuming that it isn't possible for that to happen, then we change the origin of the coordinate system to the squid's most recent position. Say <math>x + y = 2014</math>, then if <math>n < 2013</math>, then the squid can cover Eric in the very next turn. Hence, <math>n > 2013</math>. Now we try to get a strategy for which Eric wins. The sum of Eric's coordinates should be greater than <math>2013</math> after any squid-move for the squid to avoid defeat. On any move in which the squid cannot win directly, it must focus on getting away. If initially <math>x + y = 2014</math>, then after the squid's move, <math>x + y < 4035</math>. If <math>n > 4034</math>, the squid can always be caught in the next move. If <math>n < 4034</math>, the squid can always get away/win. Hence, <math>n > 4034</math>
  
 
==See also==
 
==See also==

Revision as of 05:18, 18 October 2020

Problem 6

Let $n$ be a positive integer. Eric and a squid play a turn-based game on an infinite grid of unit squares. Eric's goal is to capture the squid by moving onto the same square as it.

Initially, all the squares are colored white. The squid begins on an arbitrary square in the grid, and Eric chooses a different square to start on. On the squid's turn, it performs the following action exactly $2020$ times: it chooses an adjacent unit square that is white, moves onto it, and sprays the previous unit square either black or gray. Once the squid has performed this action $2020$ times, all squares colored gray are automatically colored white again, and the squid's turn ends. If the squid is ever unable to move, then Eric automatically wins. Moreover, the squid is claustrophobic, so at no point in time is it ever surrounded by a closed loop of black or gray squares. On Eric's turn, he performs the following action at most $n$ times: he chooses an adjacent unit square that is white and moves onto it. Note that the squid can trap Eric in a closed region, so that Eric can never win.

Eric wins if he ever occupies the same square as the squid. Suppose the squid has the first turn, and both Eric and the squid play optimally. Both Eric and the squid always know each other's location and the colors of all the squares. Find all positive integers $n$ such that Eric can win in finitely many moves.

Solution

First, we should note that there are some starting positions for which Eric can never win, if the squid starts first. For example, if Eric is right next to the squid, then he can just get covered entirely by black squares in 6 moves. In general, if we have a coordinate system with origin at the squid's starting position, with Eric's coordinates $x$, $y$, then they must be such that:

$x$ $+$ $y$ $>$ $2013$, otherwise Eric can always be covered in the first turn.

Now, assuming that it isn't possible for that to happen, then we change the origin of the coordinate system to the squid's most recent position. Say $x + y = 2014$, then if $n < 2013$, then the squid can cover Eric in the very next turn. Hence, $n > 2013$. Now we try to get a strategy for which Eric wins. The sum of Eric's coordinates should be greater than $2013$ after any squid-move for the squid to avoid defeat. On any move in which the squid cannot win directly, it must focus on getting away. If initially $x + y = 2014$, then after the squid's move, $x + y < 4035$. If $n > 4034$, the squid can always be caught in the next move. If $n < 4034$, the squid can always get away/win. Hence, $n > 4034$

See also

2020 CAMO (ProblemsResources)
Preceded by
Problem 1
Followed by
Problem 3
1 2 3 4 5 6
All CAMO Problems and Solutions

The problems on this page are copyrighted by the MAC's Christmas Mathematics Competitions. AMC logo.png