CTK Exchange
Front Page
Movie shortcuts
Personal info
Awards
Reciprocal links
Terms of use
Privacy Policy

Interactive Activities

Cut The Knot!
MSET99 Talk
Games & Puzzles
Arithmetic/Algebra
Geometry
Probability
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
My Logo
Math Poll
Other Math sit's
Guest book
News sit's

Recommend this site

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Products to download and subscription Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

CTK Exchange

Subject: "Towers of Hanoi"     Previous Topic | Next Topic
Printer-friendly copy     Email this topic to a friend    
Conferences The CTK Exchange High school Topic #304
Reading Topic #304
Lydia
guest
Nov-25-04, 11:01 AM (EST)
 
"Towers of Hanoi"
 
   Erm, well, I've been working on the towers of hanoi and I've reached a bit of a block. I know how you work out the minimum number of moves when you have the previous number (eg you have 7 moves for 3 disks and you use it to work out the number of moves for 4 disks).

However, I was wondering whether anyone could provide any clues on how you go about working out the minimum number of moves for... say, 100 disks without knowing the previous answer. I can't even seem to get started on finding the formula...

Thanks very much.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top

  Subject     Author     Message Date     ID  
Towers of Hanoi Lydia Nov-25-04 TOP
  RE: Towers of Hanoi rewboss Nov-25-04 1
     RE: Towers of Hanoi JJ Nov-26-04 2
  RE: Towers of Hanoi alexb Nov-26-04 3
  RE: Towers of Hanoi maik Nov-26-04 4
  RE: Towers of Hanoi R.Kesavan. Nov-30-04 5
  RE: Towers of Hanoi Stephen Nov-03-06 6
  RE: Towers of Hanoi Dhruv Oct-03-07 7

Conferences | Forums | Topics | Previous Topic | Next Topic
rewboss
guest
Nov-25-04, 01:08 PM (EST)
 
1. "RE: Towers of Hanoi"
In response to message #0
 
   I know the formula, but I can't think of a way of giving you any clues without giving it away. Except that it has to do with powers.

I do have a story about it, though. In 1884, a certain man called de Parville described in La nature, part I, pp 285f, what must be the ultimate Tower of Hanoi.

Paraphrasing, the dome of the great temple at Benares marks the centre of the world, and beneath it a huge Tower of Hanoi affair with three diamond needles each a cubit high, and 64 discs of gold. Day and night, the priests move discs from needle to needle, and when the "game" is complete, the world will come to an end.

If the priests work in shifts on a 24-hour schedule, transfer one disc per second and never, ever make a mistake, that works out at almost six billion centuries, making this the most optimistic prophecy of the end of the world on record. When you find the formula, you can check.

For reference: the usual scientific guess for the end of the world -- when our sun expands to a red giant and swallows up the earth -- is about eight billion years.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
JJ
guest
Nov-26-04, 08:01 AM (EST)
 
2. "RE: Towers of Hanoi"
In response to message #1
 
   Result and explanation are presented in :
https://mathworld.wolfram.com/TowerofHanoi.html


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
alexb
Charter Member
2085 posts
Nov-26-04, 08:02 AM (EST)
Click to EMail alexb Click to send private message to alexb Click to view user profileClick to add this user to your buddy list  
3. "RE: Towers of Hanoi"
In response to message #0
 
   Please see

https://www.cut-the-knot.org/recurrence/hanoi.shtml


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
maik
guest
Nov-26-04, 09:11 AM (EST)
 
4. "RE: Towers of Hanoi"
In response to message #0
 
   Hi,

if you want to figure it out for yourself and just want a clue, a good aproach in solving recurences is to carefully "watch yourself over the shoulder" while figuring. When you have number a, what do you do with it to get a and in which "prominent" sequences is the relationship between an element and its successor roughly similar?

good luck


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
R.Kesavan.
guest
Nov-30-04, 08:53 AM (EST)
 
5. "RE: Towers of Hanoi"
In response to message #0
 
   Here is the formula for calculating the number of moves least required for shifting 'n' discs satisfying the conditions of the problem: it is 2^n-1= 2raised to the power 'n'-1.
In your case for shifting 100 discs, it is 2^100-1 which is a gigantic and gargantuan number to write.
Thanks,
R.Kesavan.
kesavan7777@yahoo.com


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Stephen
guest
Nov-03-06, 06:34 PM (EST)
 
6. "RE: Towers of Hanoi"
In response to message #0
 
   The formula for Towers is

2^^n - 1 (2 to the n (n rings) then subtract 1 from that answer)

eg, 3 rings should take minimum number of moves:

2^^3 = 8
8 - 1 = 7

7 moves for three rings

2^^100 = 1.3 x E30
then subtract 1 (which really doesn't make a difference.)

Here's something to think about. If it takes one second to make a move, and you have 27 rings, you don't have enough time in your life to complete the process, even if you make the minimum number of moves.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Dhruv
guest
Oct-03-07, 01:19 PM (EST)
 
7. "RE: Towers of Hanoi"
In response to message #0
 
   2^n-1
this the formula
for the proof this can be done by induction
assume that for k discs, it takes m moves
then for k+1 disks there will be 2k+1 moves.
now by recurence relations u can easily get the reqd result


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top

Conferences | Forums | Topics | Previous Topic | Next Topic

You may be curious to have a look at the old CTK Exchange archive.
Please do not post there.

Copyright © 1996-2018 Alexander Bogomolny

Search:
Keywords:

Google
Web CTK