中文
相关论文

相关论文: Magnetic Towers of Hanoi and their Optimal Solutio…

200 篇论文

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…

组合数学 · 数学 2010-03-11 Uri Levy

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…

组合数学 · 数学 2021-03-23 Jean-Paul Allouche , Jeff Shallit

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…

离散数学 · 计算机科学 2022-06-08 Benoît Rittaud

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…

组合数学 · 数学 2012-04-24 Mikael Erik Jörgensen

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…

综合文献 · 计算机科学 2016-03-14 Jérémy Barbay

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…

离散数学 · 计算机科学 2022-05-30 David Eppstein , Daniel Frishberg , William Maxwell

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…

离散数学 · 计算机科学 2026-04-06 El-Mehdi Mehiri , Hacène Belbachir

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…

组合数学 · 数学 2017-12-11 Max A. Alekseyev , Toby Berger

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…

组合数学 · 数学 2011-08-24 Zoran Sunic

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,…

计算机科学与博弈论 · 计算机科学 2017-08-31 Jonathan Chappelon , Urban Larsson , Akihiro Matsuura

We introduce and study a new four-peg variant of the Tower of Hanoi problem under parity constraints. Two pegs are neutral and allow arbitrary disc placements, while the remaining two pegs are restricted to discs of a prescribed parity: one…

组合数学 · 数学 2025-10-28 El-Mehdi Mehiri

The Tower of Hanoi continues to provide a surprisingly rich meeting point for recursive reasoning, combinatorial geometry, and computational verification. Motivated by the editorial standards of the Bulletin of the Australian Mathematical…

组合数学 · 数学 2025-11-12 Qi Junyi

We derive a unified closed-form expression for the Frame-Stewart algorithm in the multi-peg Tower of Hanoi: M(p,n) = 2^(i(p,n)+1)*n - sum_{k=0}^{i(p,n)} 2^k * C(p+k-2, k), where i(p,n) = min{ j >= 0 : n <= C(p-1+j, j+1) }. and prove it…

组合数学 · 数学 2025-10-09 Abhiram Menon

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…

组合数学 · 数学 2026-03-31 Hacène Belbachir , El-Mehdi Mehiri

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.

形式语言与自动机理论 · 计算机科学 2017-10-13 Joost Engelfriet

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…

离散数学 · 计算机科学 2011-12-06 Bijoy Rahman Arif

The Frame-Stewart algorithm for the 4-peg variant of the Tower of Hanoi, introduced in 1941, partitions disks into intermediate towers before moving the remaining disks to their destination. Algorithms that partition the disks have not been…

编程语言 · 计算机科学 2013-02-01 Neng-Fa Zhou , Jonathan Fruhman

We develop a unified algebraic theory of the weighted Tower of Hanoi with arbitrary nonnegative symmetric move costs depending on both disc index and pegs. Starting from a general optimality recurrence with two competing strategies -- one…

组合数学 · 数学 2026-05-22 Andreas M. Hinz , El-Mehdi Mehiri

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…

组合数学 · 数学 2022-06-13 Andrey Rukhin

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…

组合数学 · 数学 2025-10-22 David Eppstein , Daniel Frishberg , William Maxwell
‹ 上一页 1 2 3 10 下一页 ›