(en.wikipedia.org) Tower of Hanoi - Wikipedia

ROAM_REFS: https://en.wikipedia.org/wiki/Tower_of_Hanoi

The Tower of Hanoi (also called The problem of Benares Temple, Tower of Brahma or Lucas' Tower, and sometimes pluralized as Towers, or simply pyramid puzzle) is a mathematical game or puzzle consisting of three rods and a number of disks of various diameters, which can slide onto any rod. The puzzle begins with the disks stacked on one rod in order of decreasing size, the smallest at the top, thus approximating a conical shape. The objective of the puzzle is to move the entire stack to one of the other rods, obeying the following rules:

  1. Only one disk may be moved at a time.
  2. Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack or on an empty rod.
  3. No disk may be placed on top of a disk that is smaller than it.

With three disks, the puzzle can be solved in seven moves. The minimal number of moves required to solve a Tower of Hanoi puzzle is 2n − 1, where n is the number of disks.

Local Graph

org-roam b1e828fb-6b65-4e6d-a6b4-aaea2b9e1740 (en.wikipedia.org) Tower of Hanoi - W... //en.wikipedia.org/wiki/Mathematical_game https://en.wikipedia.org/wiki/Mathematical_game b1e828fb-6b65-4e6d-a6b4-aaea2b9e1740->//en.wikipedia.org/wiki/Mathematical_game //en.wikipedia.org/wiki/Puzzle https://en.wikipedia.org/wiki/Puzzle b1e828fb-6b65-4e6d-a6b4-aaea2b9e1740->//en.wikipedia.org/wiki/Puzzle //en.wikipedia.org/wiki/Diameter https://en.wikipedia.org/wiki/Diameter b1e828fb-6b65-4e6d-a6b4-aaea2b9e1740->//en.wikipedia.org/wiki/Diameter //en.wikipedia.org/wiki/Conical https://en.wikipedia.org/wiki/Conical b1e828fb-6b65-4e6d-a6b4-aaea2b9e1740->//en.wikipedia.org/wiki/Conical 2a07e4ea-610b-4c9a-bb84-d961fb2450e5 Code and Coffee Book Club 2a07e4ea-610b-4c9a-bb84-d961fb2450e5->b1e828fb-6b65-4e6d-a6b4-aaea2b9e1740