The Towers of Hanoi The puzzle was invented by the French mathematician Édouard Lucas in 1883. There is a legend about an Indian temple which contains a large room with three time-worn posts in it surrounded by 64 golden disks. The priests of Brahma, acting out the command of an ancient prophecy, have been moving these disks, in accordance with the rules of the puzzle. According to the legend, when the last move of the puzzle is completed, the world will end. The puzzle is therefore also known as the Tower of Brahma puzzle
Home / Questions / What mathematical puzzle that consists of three pegs and a number of disks of different sizes in which the objective is to move the entire stack of disks from one peg to another is used in computer science to teach recursion to students of programming?