There is a Hanoi sequence of moves for any possible starting and ending situations.
| By: |
|
| 1 |
2. g : {1...0} 3. a : | 3 steps |
| 2 |
2. 0<n 3. 3. 3. s is a Hanoi(n-1 disk) seq on a..z & s(a) = f & s(z) = g 4. f : {1...n} 5. g : {1...n} 6. a : | 14 steps |
About: