There are a few stuffs that just get stuck in our mind and make us think about it all the time…
A few days back, when I was watching the movie “rise of the planet of the apes”, something interesting stuck in my mind … Most of us would have noticed the ape (Bright Eyes) playing with the “the tower of Hanoi” (well… ya, that’s what it is called). The above animation might help you remember the scenes from the movie. The ape was able to solve the puzzle in 20 moves while the perfect score was 15… hmm… that’s quite interesting, is it? Well, not yet. The interesting part is the puzzle itself. The TOWER OF HANOI, also known as the tower of “BRAHMA”, was invented by a French mathematician, Édouard Lucas.
The main objective of the puzzle is to move the entire stack of disks to another rod, obeying the following rules:
1. Only one disk can be moved at a time.
2. At any point of time, the larger disk should not be placed above the smaller one.
Édouard Lucas was inspired by a legend that tells of a Hindu temple. At the beginning of this world, Lord Brahma, gave the priests in the temple 64 gold disks, each one a little smaller than the one beneath it. Their assignment was to transfer the 64 disks from one of the three poles to another; with one important provisional large disk could never be placed on top of a smaller one. The priests worked very efficiently, day and night. When they finished their work, the myth said, the temple would crumble into dust and the world would vanish.
So, the doomsday clock is in the hands of those priests… really???
Well, if the legend is true, and assuming that the priests are fast enough to move each disk in 1 sec and considering the priests to be smart enough to do the whole process in the least number of moves, it would take (2^64)-1 moves, that would be 18,446,744,073,709,551,615s or 585 billion years to finish. This is, more than 40 times the age of Universe itself. Well, this might let some of us down, who are so damn hopeful of the apocalypse this year… bear it.