The Tower of Hanoi |
The surprise is how many moves are necessary - to move a pile of n discs takes 2^(n-1) operations. (it's a good example showing various ideas about algorithms, such as recursion.) There is a legend that monks in India are engaged in moving a tower of 64 discs, one operation per day, and that when the move is complete, the world will end. How long would that take?
Although I won a T-shirt by solving the puzzle in Lewisham Shopping Centre on a Saturday morning in Maths Year 2000, I had never felt that the puzzle has mass appeal: the procedure for solution is too laborious. But recently I took the puzzle in the photograph to the Green STEM Fest for children at the University of Greenwich (along with things which I thought were more likely to attract interest) and this was the exhibit the kids enjoyed most. A few nine-year-olds (or so) started racing each other against the clock, recording times of around 35 seconds, which seemed pretty quick to me.
Then one of them produced the brilliant solution in the video below (which is a reconstruction)! This is the work of a real mathematician who has recognised the symmetry in the situation.
Elegant. Except that the rules preclude moving more than one disc at a time!
ReplyDelete