1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Correct Hanoi formula for minimum number of moves in the docs (#397)

This commit is contained in:
Joe R 2024-10-13 14:20:46 -04:00
parent 66995aedaf
commit df8d05e0c5

View file

@ -26,4 +26,5 @@ Hanoi Puzzle is a card-based version of the classic Tower of Hanoi
puzzle. It is traditionally played with different size disks. puzzle. It is traditionally played with different size disks.
<p> <p>
For a given number of cards, the minimum number of moves to solve For a given number of cards, the minimum number of moves to solve
the puzzle is one less than double the number of cards (2n - 1). the puzzle is one less than two to a power of the number of cards
(2^n - 1).