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:
parent
66995aedaf
commit
df8d05e0c5
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
<p>
|
||||
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).
|
||||
|
|
Loading…
Add table
Reference in a new issue