中文
相关论文

相关论文: On generalized Frame-Stewart numbers

200 篇论文

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

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

组合数学 · 数学 2016-01-19 Janez Žerovnik

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.

组合数学 · 数学 2020-07-17 Youngjin Bae

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 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 prove that the solutions to the k-peg Tower of Hanoi Problem given by Frame and Stewart are minimal.

离散数学 · 计算机科学 2016-09-26 Roberto Demontis

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

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

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

离散数学 · 计算机科学 2011-02-25 Daniel Berend , Amir Sapir , Shay Solomon

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…

组合数学 · 数学 2015-08-19 Codrut Grosu

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

I prove that the group of symmetries of the Tower of Hanoi graph with k pegs and n disks, denoted H_n^k, is isomorphic to the group of permutations of k elements, S_k, for all k greater than or equal to 3 and positive n.

组合数学 · 数学 2009-04-05 So Eun Park

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

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

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…

组合数学 · 数学 2026-03-31 El-Mehdi Mehiri

The "Subset Sum problem" is a very well-known NP-complete problem. In this work, a top-k variation of the "Subset Sum problem" is considered. This problem has wide application in recommendation systems, where instead of k best objects the k…

数据结构与算法 · 计算机科学 2021-08-27 Biswajit Sanyal , Subhashis Majumder , Priya Ranjan Sinha Mahapatra

A simple graph $G$ is an {\it 2-tree} if $G=K_3$, or $G$ has a vertex $v$ of degree 2, whose neighbors are adjacent, and $G-v$ is an 2-tree. Clearly, if $G$ is an 2-tree on $n$ vertices, then $|E(G)|=2n-3$. A non-increasing sequence…

组合数学 · 数学 2018-07-03 De-Yan Zeng , Dong-Yang Zhai , Jian-Hua Yin
‹ 上一页 1 2 3 10 下一页 ›