English
Related papers

Related papers: Two-Player Tower of Hanoi

200 papers

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 this work I study a modified Tower of Hanoi puzzle, which I term Magnetic Tower of Hanoi (MToH). The original Tower of Hanoi puzzle, invented by the French mathematician Edouard Lucas in 1883, spans "base 2". That is - the number of…

Combinatorics · Mathematics 2010-03-11 Uri Levy

The game of the Towers of Hanoi is generalized to binary trees. First, a straightforward solution of the game is discussed. Second, a shorter solution is presented, which is then shown to be optimal.

Formal Languages and Automata Theory · Computer Science 2017-10-13 Joost Engelfriet

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

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

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

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

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 famous Tower of Hanoi puzzle involves moving $n$ discs of distinct sizes from one of $p\geq 3$ pegs (traditionally $p=3$) to another of the pegs, subject to the constraints that only one disc may be moved at a time, and no disc can ever…

Combinatorics · Mathematics 2025-10-22 David Eppstein , Daniel Frishberg , William Maxwell

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

The generalized Tower of Hanoi problem with h \ge 4 pegs is known to require a sub-exponentially fast growing number of moves in order to transfer a pile of n disks from one peg to another. In this paper we study the Path_h variant, where…

Discrete Mathematics · Computer Science 2011-02-25 Daniel Berend , Amir Sapir , Shay Solomon

The Frame-Stewart conjecture states the least number of moves to solve a generalized Tower of Hanoi problem, of n disks and p pegs. In this paper, we prove a weaker version of the Frame-Stewart conjecture.

Combinatorics · Mathematics 2020-07-17 Youngjin Bae

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

Our theme bases on the classical Hanoi Towers Problem. In this paper we will define a new problem, permitting some positions, that were not legal in the classical problem. Our goal is to find an optimal (shortest possible) sequence of…

Discrete Mathematics · Computer Science 2007-05-23 Sergey Benditkis , Illya Safro

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

Consider the restricted Hanoi graphs which correspond to the variants of the famous Tower of Hanoi problem with multiple pegs where moves of the discs are restricted throughout the arcs of a movement digraph whose vertices represent the…

Combinatorics · Mathematics 2026-03-31 El-Mehdi Mehiri

Given $k\ge 3$ heaps of tokens. The moves of the 2-player game introduced here are to either take a positive number of tokens from at most $k-1$ heaps, or to remove the {\sl same} positive number of tokens from all the $k$ heaps. We analyse…

Combinatorics · Mathematics 2007-05-23 Aviezri S. Fraenkel , Dmitri Zusman

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

More than a century after its proposal, the Towers of Hanoi puzzle with 4 pegs was solved by Thierry Bousch in a breakthrough paper in 2014. The general problem with p pegs is still open, with the best lower bound on the minimum number of…

Combinatorics · Mathematics 2015-08-19 Codrut Grosu

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
‹ Prev 1 2 3 10 Next ›