|
Author |
hbghlyj
Posted 2022-12-3 09:01
A strategy that maximizes the distance traveled on the final trip for the "exploring the desert" variant is as follows:
- The jeep makes $n$ trips. On each trip it starts from base with 1 unit of fuel.
- On the first trip the jeep travels a distance of $1\over2n$ units and leaves $n-1\over n$ units of fuel at a fuel dump. The jeep still has $1\over2n$ units of fuel – just enough to return to base.
- On each of the subsequent $n$-1 trips the jeep collects $1\over2n$ units of fuel from this first fuel dump on the way out, so that it leaves the fuel dump carrying 1 unit of fuel. It also collects $1\over2n$ units of fuel from this first fuel dump on the way back, which is just enough fuel to return to base.
- On the second trip the jeep travels to the first fuel dump and refuels. It then travels a distance of $1\over2n-2$ units and leaves $n-2\over n-1$ units of fuel at a second fuel dump. The jeep still has $1\over2n-2$ units of fuel, which is just enough to return to the first fuel dump. Here it collects $1\over2n$ units of fuel, which is just enough fuel to return to base.
- On each of the subsequent $n-2$ trips the jeep collects $1\over2n-2$ units of fuel from this second fuel dump on the way out, so that it leaves the fuel dump carrying 1 unit of fuel. It also collects $1\over2n-2$ units of fuel from the second fuel dump on the way back, which is just enough fuel to return to the first fuel dump.
- The jeep continues in this way, so that on trip $k$ it establishes a new $k$th fuel dump at a distance of $1\over2n-2k+2$ units from the previous fuel dump and leaves $n-k\over n-k+1$ units of fuel there. On each of the subsequent $n$-$k$ trips it collects $1\over2n-2k+2$ units of fuel from the $k$th dump on its way out and another $1\over2n-2k+2$ units of fuel on its way back.
When the jeep starts its final trip, there are $n-1$ fuel dumps. The farthest contains $1\over2$ of a unit of fuel, the next farthest contain $1\over3$ of a unit of fuel, and so on, and the nearest fuel dump has just $1\over n$ units of fuel left. Together with 1 unit of fuel with which it starts from base, this means that the jeep can travel a total round trip distance of
\[1 + \frac{1}{2} + \frac{1}{3} + \cdots + \frac{1}{n} = \sum_{k=1}^n \frac{1}{k} \equiv 2\times\mathrm{explore}(n)\]
units on its final trip (the maximum distance traveled into the desert is half of this). |
|