Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #332014

Re: Prime stacking on the Tower of Hanoi.

Newsgroups sci.math
Date 2016-04-17 03:47 -0700
References <e3a28014-dc1a-4366-9bf1-5d2d8e5ceb6e@googlegroups.com> <f96a6aca-5b62-4814-b290-afb819748dcb@googlegroups.com>
Message-ID <85709aec-7e4a-4085-9eea-edd5c575ecd6@googlegroups.com> (permalink)
Subject Re: Prime stacking on the Tower of Hanoi.
From djoyce099 <hlauk.h.bogart@gmail.com>

Show all headers | View raw


On Sunday, April 17, 2016 at 5:44:22 AM UTC-4, djoyce099 wrote:
> On Saturday, April 16, 2016 at 11:47:10 PM UTC-4, djoyce099 wrote:
> > Same rules apply except for the number of pegs.
> > The number of prime pegs is determined on the next 
> > prime disks after disk 3.
> > When moving a stack of largest to the smallest disk
> > (smallest @ top of tower) to another peg moving
> > one piece at a time and at no time placing a larger 
> > disk on a smaller one in the process. 
> >   
> > New rule added below.
> > Starting with disk 5 and peg 3 on the next set change 
> > disk 5 to peg 5 and 7 disk making the next set  
> > 7 disk and 5 pegs and so on as observed below.
> > .
> > 
> > 2 disk  3 pegs = 3 least # moves.
> > 3 disk  3 pegs = 7 least # moves.
> > 5 disk  3 pegs = 31 least # moves.
> > 7 disk  5 pegs = 19 least # moves.
> > 11 disks 7 pegs = 31 least # moves.
> > 13 disks 11 pegs = 31 least # moves.
> > 17 disk  13 pegs = 43 least # moves.
> > 19 disk  17 pegs = .. ???
> > 
> > This will makes a tough little programing problem.
> > Maybe harder then the resent post on the letter, number, word association
> > puzzle that was posted recently.
> >  
> > Will each set of disks, pegs and moves always equal distinct primes? 
> > I doubt it.
> > 
> > I am working on the algorithm now for 19 disk and 17 pegs.
> > 
> > Starting with 7 disk and 5 pegs, one or more of these could be a
> > wrong number of least moves. 
> > 
> > My programming skills leave a lot to be desired.  
> > 
> > Dan
> 
> 19 disk and 17 pegs = 43 least number of moves.
> 
> The (3) discrete primes are holding for each set( The number of disk, pegs and
> moves).
> 
> Next on the list is -- 23 disks and 19 pegs.
> 
> Dan

23 disk and 19 pegs = 55 least number of moves.

Breaking the 3 discrete prime pattern.

Is there a faster algorithm to calculate these?

Dan 

Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-16 20:47 -0700
  Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-17 02:44 -0700
    Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-17 03:47 -0700
      Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-17 14:09 -0700
        Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-17 15:24 -0700
          Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-20 11:52 -0700
            Re: Prime stacking on the Tower of Hanoi. Jamie M <jmorken@shaw.ca> - 2016-04-20 13:06 -0700
              Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-20 13:17 -0700
            Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-20 17:56 -0700
              Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-20 20:29 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-21 05:38 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-22 18:13 -0700
              Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-23 08:15 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-23 17:22 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-24 08:10 -0700
                Re: Prime stacking on the Tower of Hanoi. Jamie M <jmorken@shaw.ca> - 2016-04-26 13:27 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-26 13:41 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-26 13:26 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-26 13:46 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-26 17:16 -0700
                Re: Prime stacking on the Tower of Hanoi. Jamie M <jmorken@shaw.ca> - 2016-04-26 21:27 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-27 04:36 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-27 21:47 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-27 21:49 -0700
                Re: Prime stacking on the Tower of Hanoi. Jamie M <jmorken@shaw.ca> - 2016-04-27 23:36 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-28 08:31 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-28 10:05 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-28 10:13 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-29 06:40 -0700
                Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-29 11:58 -0700
      Re: Prime stacking on the Tower of Hanoi. James Waldby <not@valid.invalid> - 2016-04-18 00:17 +0000
        Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-17 21:25 -0700
          Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-28 12:18 -0700
            Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-29 12:22 -0700
              Re: Prime stacking on the Tower of Hanoi. djoyce099 <hlauk.h.bogart@gmail.com> - 2016-04-29 15:53 -0700

csiph-web