Home Math Tim's Skiing Sites

## Problem

You goal is to go from Start to Finish. There are five posts (numbered 1 through 5) down the road with gas storage facilities at each. The tank of your car can carry enough gas to travel four posts. When you are at Start, you can refuel your car. Can you reach Finish in the minimal number of moves?

Click on the '>>' button to move one post to the right. Click on the '<<' button to move one post to the left. The select fox marked '-fuel-' lets you put some amount of gas into the storage (>store) or put gas back into the tank of your car (>tank).
The 'Tank' box shows how many posts you can cover with the gas left in your tank. The boxes in the row marked 'stored' show how much gas you placed in the respective post gas storage. The amount of gas is measured by the number of posts you can travel with it.
If you get to Finish in more moves than necessary, you will be informed what this minimal number is.

 Start stored > 1 2 3 4 5 Finish < stored

Tank:

Acknowledgement
Thanks to GIF Room for the car icon.