Statements (26)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:puzzle
|
| gptkbp:alsoKnownAs |
gptkb:Tower_of_Brahma
|
| gptkbp:category |
gptkb:algorithm
gptkb:mathematics gptkb:puzzle |
| gptkbp:goal |
move all disks from source peg to target peg
|
| gptkbp:hasDisks |
n (variable number)
|
| gptkbp:hasLegend |
Brahmin priests moving disks in a temple
|
| gptkbp:hasRule |
no disk may be placed on top of a smaller disk
only one disk may be moved at a time only the top disk of a peg may be moved |
| gptkbp:hasVersion |
wooden puzzle
|
| gptkbp:introducedIn |
1883
|
| gptkbp:inventedBy |
gptkb:Édouard_Lucas
|
| gptkbp:minimumMovesFormula |
2^n - 1
|
| gptkbp:numberOfPegs |
3
|
| gptkbp:relatedTo |
gptkb:algorithm
gptkb:recursion dynamic programming |
| gptkbp:socialMedia |
gptkb:simulation
|
| gptkbp:usedIn |
gptkb:recreational_mathematics
computer science psychology |
| gptkbp:bfsParent |
gptkb:Tower_of_Hanoi
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
Towers of Hanoi
|