This internal assessment explores the Tower of Hanoi puzzle, focusing on finding the maximum number of moves possible without repeating any configuration. It uses a practical approach, initially testing with 1, 2, and 3 disks to identify patterns.
The study observes a recurrence relation between the number of disks and moves. Initially, a formula (TN = 3TN-1 + 2) is derived from the observed pattern and then refined using simultaneous equations to derive a more accurate formula (TN = 3n - 1).
The final formula, TN = 3n - 1, is used to calculate the time required for the legendary 64-disk version of the puzzle, assuming each move takes one second. The calculation involves finding the total number of moves (approximately 3.43 x 10^30) and converting it to years (approximately 1.1 x 10^23 years).
The study successfully determines a formula (TN = 3n - 1) for calculating the maximum number of non-repetitive moves in the Tower of Hanoi puzzle. The application of this formula to the 64-disk legend illustrates the exponentially increasing complexity of the puzzle.
The main reason for choosing the Tower of Hanoi as my internal assessment was because I was interested in the concept of series and sequences. Also this puzzle showed some real life applications of mathematics which was also one of the reasons I choose this. Also the least time for the legend of Hanoi was already found so I was fascinated with idea of finding the longest amount of time for the legend of Hanoi using non-repetitive steps. For this internal assessment the equipment shown in the pictures were used in order to find any kind of patterns formed practically and also to check if the formula formed was accurate.
Introduction- The Tower of Hanoi is a renowned problem in recreational mathematics which is also known as the Tower of Bramha or Lucas Tower which is a mathematical puzzle and was first devised by the French mathematician Edouard Lucas in 1883. This basically consists of three poles along with some disks usually three which is originally stacked in one pole. These disks are put in ascending order with smallest disk being on the top. The main goal of this puzzle is transfer all the disks from the first pole to the rightmost one shifting one disk at a time without placing a larger disk on a smaller one in minimum amount of moves. As per a legend there is temple containing three poles with 64 golden disks and when moving the disks from the leftmost pole to the rightmost will be done, that would mean the end of the world. This mathematical puzzle helps in understanding the theories of sequences, series and patterns just by going through the course of the game.
Although the least time taken to move these 64 disks is already found. In a modification to this we will determine the largest amount of time taken by taking as many moves as possible without repeating any previous configuration of the rings for these 64 disks. Method- In order to obtain a formula for this puzzle we first need to discover a pattern which would be done by testing the puzzle using a total of 3 disks. The maximum moves without repetition of previous configuration of the rings with respective disks are shown in the diagrams below:
Diagram 1:
Diagram 3:
Ratio: 18 Γ· 6 = 3
54 Γ· 18 = 3
TN = 3TN-1
ο· 2-0 = 2 ο· 8-6 = 2 ο· 26-24 = 2
So from this we can find a recurrence relation. We can therefore add 2 to the formula which would give us the actual number of maximum non repetitive steps which is:
TN = 3TN-1 + 2
1 2 2 8 3 26 4 80 5 242 6 728 7 2186 Derivation of Equation using y = ππ π₯ + π : ο· When x = 1 then y = 2 ο· When x = 2 then y = 8 ο· When x = 3 then y = 26
= 2 = ππ + π 1
= 8 = ππ2 + π 2
= 26 = ππ3 + π 3 By equating the equations 1 and 2 we get the following:
= ππ2 β ππ = 6 = ππ(π β 1) = 6 4 By equating the equations 2 and 3 we get the following:
= ππ3 β ππΒ² = 6 = ππΒ²(π β 1) = 18 5 Now by equating the equations 4 and 5 we get the following:
ππΒ²(πβ1) = 18 = ππ(πβ1) = 6 β΄π = 3 Now we put the value of b in the equation 4:
= ππ(π β 1) = 6 = π(3)(2) = 6
β΄ π= 1 Now we put the value of a and b in the equation 1:
= 2 = ππ + π = 2 = (1)(3) + π =2-3= π
β΄ c = β1 To find the formula for the maximum number of non-repetitive steps using any particular number of disks we need to put the values of a,b and c in y = ππ π₯ + π which would give us the formula :
= y = ππ π₯ + π
= y = (1)(3)π₯ + (β1)
= y = 3π₯ β 1
β΄ TN = 3 n β 1 Graph1: Number of Moves VS Number of disks
In Graph 2 we will use the Graph 1 and insert the formula TN = 3n β 1 in order to check whether our derivation for the formula of Tower of Hanoi to find the longest moves using non-repetitive steps.. Graph2: Number of Moves VS Number of disks with Function TN = 3n β 1
From Graph 2 we see that the function of TN = 3n β 1 is fitting in all the data points which implies that to find the longest number of non-repetitive steps in any N number of disks can be found out using TN = 3n β 1. It has already found out that it takes approximately 585 billion years to complete moving all the 64 disks in minimum number of moves. Now I will find the time to move all the 64 disks in maximum number of moves using non repetitive steps:
=T64 = 364 β 1
=3.43368382 Γ 1030
If one move is equal to one second one then total number moves per year is:
=(60Γ60Γ24Γ365)
3.43368382 Γ 1030 = (60Γ60Γ24Γ365)
= 1.088813997 Γ 1023 = 1.1Γ1023 years CONCLUSION: The aim of this investigation was to find the longest amount of time for the legend of Hanoi using non-repetitive steps. Initially we formed the recurrence relation to form TN = 3TN-1 + 2 in order to obtain total number of moves for n disks. After these using simultaneous equations we were able to acquire the formula TN = 3n β 1 which was verified using the graph. From this formula, in our modification of tower of Hanoi rules we were able to determine the largest amount of time taken by taking as many moves as possible without repeating any previous configuration of the rings for the 64 disks in the legend of Hanoi.
Bibliography: ο· A.Bogomolny, Tower of Hanoi, the Hard Way from Interactive Mathematics Miscellany and Puzzles http://www.cut-the-knot.org/recurrence/LongHanoi.shtml, Accessed 06 November 2014 ο· Tower of Hanoi. (2014, June 11). Retrieved October 29, 2014. ο· Weisstein, Eric W. "Recurrence Equation." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/RecurrenceEquation.html ο· Nykamp DQ, βRecurrence relation definition.β From Math Insight. http://mathinsight.org/recurrence_relation_definition ο· Tower of Hanoi. (n.d.). Retrieved November 2, 2014, from http://www.sparknotes.com/cs/recursion/examples/section6.rhtml ο· Math Forum: Ask Dr. Math FAQ: Tower of Hanoi. (n.d.). Retrieved October 29, 2014, from http://mathforum.org/dr.math/faq/faq.tower.hanoi.html ο· Retrieved October 29, 2014, from https://www.cs.duke.edu/~reif/courses/alglectures/skiena.lectures/ lecture3.pdf ο· towers of hanoi. (n.d.). The Free On-line Dictionary of Computing. Retrieved November 1, 2014, from Dictionary.com website:http://dictionary.reference.com/browse/towers of hanoi
If you often open multiple tabs and struggle to keep track of them, Tabs Reminder is the solution you need. Tabs Reminder lets you set reminders for tabs so you can close them and get notified about them later. Never lose track of important tabs again with Tabs Reminder!
Try our Chrome extension today!
Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more