Enumerating moves in the optimal solution of the Tower of Hanoi

10/16/2022
by   Hacène Belbachir, et al.
0

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 recursive function based on indicator functions, which counts the number of each elementary move, we investigate some of its properties including combinatorial identities, recursive formulas and generating functions. Also we found and interesting sequence that is strongly related to counting each type of these elementary moves that we'll establish some if its properties as well.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/13/2022

The weighted Tower of Hanoi

The weighted Tower of Hanoi is a new generalization of the classical Tow...
research
11/09/2021

Parameterized complexity of untangling knots

Deciding whether a diagram of a knot can be untangled with a given numbe...
research
04/10/2019

Constructing Clustering Transformations

Clustering is one of the fundamental tasks in data analytics and machine...
research
02/12/2016

Bouncing Towers move faster than Hanoi Towers, but still require exponential time

The problem of the Hanoi Tower is a classic exercise in recursive progra...
research
08/25/2017

Exploring the tiers of rooted phylogenetic network space using tail moves

Popular methods for exploring the space of rooted phylogenetic trees use...
research
08/05/2021

Fairer Chess: A Reversal of Two Opening Moves in Chess Creates Balance Between White and Black

Unlike tic-tac-toe or checkers, in which optimal play leads to a draw, i...
research
11/02/2020

Chess2vec: Learning Vector Representations for Chess

We conduct the first study of its kind to generate and evaluate vector r...

Please sign up or login with your details

Forgot password? Click here to reset