The problem:
Suppose that you are interested in retrieving an object located in the middle of the desert, n kilometers away. Your car can carry enough fuel to travel 3 kilometers, and you have an unlimited supply of spare fuel tanks which you can use to leave deposits of fuel throughout the desert. Your starting point has as much fuel as you want. What is the minimal number of miles it is possible to travel in order to retrieve the item?
This isn't homework, this is review from a class I took a while back. The solution mentions moving a tanker of gas a distance $\epsilon$, meaning that it would have $3-2\epsilon$ gallons in it. It goes on to say that this would require only $(1-\frac{2}{3}\epsilon)^{-n/\epsilon}$ kilometers, which in a limit gives an exponential, but that also would involve depositing a bit of gas at the end. (Which would be wasteful)
So my question is two fold, where did the above solution come from, and what is an even better answer, that doesn't leave gas at the end?
Edit: There is a solution given here, but I don't find it to be a good argument of correctness. I realized there is a limiting behavior here that results in the exponential, but I'm still not sure why it's the correct answer.