English
Related papers

Related papers: The Trees of Hanoi

200 papers

The Tower of Hanoi game is a classical puzzle in recreational mathematics (Lucas 1883) which also has a strong record in pure mathematics. In a borderland between these two areas we find the characterization of the minimal number of moves,…

Computer Science and Game Theory · Computer Science 2017-08-31 Jonathan Chappelon , Urban Larsson , Akihiro Matsuura

The objective of the well-known Towers of Hanoi puzzle is to move a set of disks one at a time from one of a set of pegs to another, while keeping the disks sorted on each peg. We propose an adversarial variation in which the first player…

Discrete Mathematics · Computer Science 2022-05-30 David Eppstein , Daniel Frishberg , William Maxwell

Some of the algorithms for solving the Tower of Hanoi puzzle can be applied "with eyes closed" or "without memory". Here we survey the solution for the classical Tower of Hanoi that uses finite automata, as well as some variations on the…

Combinatorics · Mathematics 2021-03-23 Jean-Paul Allouche , Jeff Shallit

The problem of the Hanoi Tower is a classic exercise in recursive programming: the solution has a simple recursive definition, and its complexity and the matching lower bound are the solution of a simple recursive function (the solution is…

General Literature · Computer Science 2016-03-14 Jérémy Barbay

The purpose of this paper is to prove the Frame-Stewart algorithm for the generalized Towers of Hanoi problem as well as finding the number of moves required to solve the problem and studying the multitude of optimal solutions. The main…

Combinatorics · Mathematics 2012-04-24 Mikael Erik Jörgensen

We modify the rules of the classical Tower of Hanoi puzzle in a quite natural way to get the Fibonacci sequence involved in the optimal algorithm of resolution, and show some nice properties of such a variant. In particular, we deduce from…

Discrete Mathematics · Computer Science 2022-06-08 Benoît Rittaud

The weighted Tower of Hanoi is a new generalization of the classical Tower of Hanoi problem, where a move of a disc between two pegs $i$ and $j$ is weighted by a positive real $w_{ij}\geq 0$. This new problem generalizes the concept of…

Discrete Mathematics · Computer Science 2026-04-06 El-Mehdi Mehiri , Hacène Belbachir

In the Twin Towers of Hanoi version of the well known Towers of Hanoi Problem there are two coupled sets of pegs. In each move, one chooses a pair of pegs in one of the sets and performs the only possible legal transfer of a disk between…

Combinatorics · Mathematics 2011-08-24 Zoran Sunic

A parallel variant of the Tower of Hanoi Puzzle is described herein. Within this parallel context, two theorems on minimal walks in the state space of configurations, along with their constructive proofs, are provided. These proofs are used…

Combinatorics · Mathematics 2022-06-13 Andrey Rukhin

We prove the exact formulae for the expected number of moves to solve several variants of the Tower of Hanoi puzzle with 3 pegs and n disks, when each move is chosen uniformly randomly from the set of all valid moves. We further present an…

Combinatorics · Mathematics 2017-12-11 Max A. Alekseyev , Toby Berger

The Magnetic Tower of Hanoi puzzle - a modified "base 3" version of the classical Tower of Hanoi puzzle as described in earlier papers, is actually a small set of independent sister-puzzles, depending on the "pre-coloring" combination of…

Combinatorics · Mathematics 2010-11-18 Uri Levy

In this paper, our aim is to prove that our recursive algorithm to solve the "Reve's puzzle" (four- peg Tower of Hanoi) is the optimal solution according to minimum number of moves. Here we used Frame's five step algorithm to solve the…

Discrete Mathematics · Computer Science 2011-12-06 Bijoy Rahman Arif

We initiate the study of simple games from the point of view of combinatorial topology. The starting premise is that the losing coalitions of a simple game can be identified with a simplicial complex. Various topological constructions and…

Physics and Society · Physics 2025-03-18 Ismar Volic , Leah Valentiner

Considering the symmetries and self similarity properties of the corresponding labeled graphs, it is shown that the minimal number of moves in the Tower of Hanoi game with $p =4$ pegs and $n \geq p$ disks satisfies the recursive formula $…

Combinatorics · Mathematics 2016-01-19 Janez Žerovnik

We present three versions of the classic two-pile game \textsc{one-or-one-or-one-of-both} generalized to the multi-pile context. In each case, we explore the resulting $\mathcal{P}$-positions. In the first version, there is a simple…

Combinatorics · Mathematics 2026-05-25 Alon Danai , Paul Ellis , Thotsaporn Aek Thanatipanonda

In this paper, we consider combinatorial game rulesets based on data structures normally covered in an undergraduate Computer Science Data Structures course: arrays, stacks, queues, priority queues, sets, linked lists, and binary trees. We…

Data Structures and Algorithms · Computer Science 2016-05-23 Mara Bovee , Kyle Burke , Craig Tennenhouse

We study the dynamic optimality conjecture, which predicts that splay trees are a form of universally efficient binary search tree, for any access sequence. We reduce this claim to a regular access bound, which seems plausible and might be…

Data Structures and Algorithms · Computer Science 2020-04-08 Luís M. S. Russo

In the Tower of Hanoi problem, there is six types of moves between the three pegs. The main purpose of the present paper is to find out the number of each of these six elementary moves in the optimal sequence of moves. We present a…

Combinatorics · Mathematics 2026-03-31 Hacène Belbachir , El-Mehdi Mehiri

Recently, Han obtained two hook length formulas for binary trees and asked for combinatorial proofs. One of Han's formulas has been generalized to k-ary trees by Yang. Sagan has found a probabilistic proof of Yang's extension. We give…

Combinatorics · Mathematics 2011-03-22 William Y. C. Chen , Oliver X. Q. Gao , Peter L. Guo

We consider a two-player search game on a tree $T$. One vertex (unknown to the players) is randomly selected as the target. The players alternately guess vertices. If a guess $v$ is not the target, then both players are informed in which…

Probability · Mathematics 2022-02-07 Ravi B. Boppana , Joel Brewster Lewis
‹ Prev 1 2 3 10 Next ›