Results 1 to 2 of 2

Thread: Towers of Hanoi Problem2

  1. #1
    Junior Member
    Joined
    Oct 2007
    Posts
    34

    Towers of Hanoi Problem2

    Hey,

    I need the reccurence relation equation for question C.

    Here is what I think it is:

    sk = sk-1 +3 + sk-1

    because s1=1, s2=1+1+1=3

    s3=s1 +(1+1+1) + s1 =5

    s4=s2 + (1+1+1)+s2=9

    Am I correct with the reccurence relation equation? BTW do I need this for question c?

    The problem is as follows:
    1. Four-pole Tower of Hanoi: Suppose that the Tower of Hanoi problem has four poles in a row instead of three. Disks can be transferred one by one from one pole to any other pole, but at no time may a larger disk be placed on a smaller disk. Let sk be the number of moves to transfer an entire tower of k disks from the left-most pole (A) to the right-most pole (D).
    a. Find s1, s2, and s3.
    b. Find s4.
    c. Show that sk <= 2sk-2 + 3 for all integers k>=3.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Oct 2009
    Posts
    4,881
    Thanks
    457
    I believe the definition should say that s_k is the least number of moves to transfer k disks. You created some algorithm for moving disks; this shows that s_k\le 2s_{k-2} + 3. This solves problem c. If you want to show that s_k=2s_{k-2} + 3, then you also need to show that s_k\ge 2s_{k-2} + 3, i.e., that there does not exist a more efficient algorithm.

    In fact, Wikipedia says, "Although the three-peg version has a simple recursive solution as outlined above, the optimal solution for the Tower of Hanoi problem with four pegs (called Reve's puzzle), let alone more pegs, is still an open problem."
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Towers of Hanoi Problem
    Posted in the Discrete Math Forum
    Replies: 4
    Last Post: November 30th 2010, 08:42 AM
  2. hanoi towers,induction
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: April 22nd 2010, 09:14 AM
  3. Towers of Hanoi
    Posted in the Discrete Math Forum
    Replies: 2
    Last Post: June 2nd 2009, 03:54 PM
  4. Reve's Puzzle (Hanoi Problem with 4 towers)
    Posted in the Discrete Math Forum
    Replies: 0
    Last Post: November 30th 2008, 07:35 PM
  5. Towers of Hanoi Adjacent
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: November 11th 2008, 11:58 AM

Search Tags


/mathhelpforum @mathhelpforum