Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Newsgroups | sci.math |
|---|---|
| Date | 2016-04-23 17:22 -0700 |
| References | (3 earlier) <9595455f-1b9e-4231-894e-a05d64b27195@googlegroups.com> <2a8d008f-3495-42e9-9fd3-2ed0b702d8be@googlegroups.com> <f2f882b9-c0a5-42e0-8f41-3ca03b1eab03@googlegroups.com> <a9f04756-007e-42cd-b8e3-95323548f685@googlegroups.com> <5d0f7843-f8c4-4fa8-b006-bd9432ba8f72@googlegroups.com> |
| Message-ID | <6bcb2e66-e2fe-447c-831b-916fc64a9101@googlegroups.com> (permalink) |
| Subject | Re: Prime stacking on the Tower of Hanoi. |
| From | djoyce099 <hlauk.h.bogart@gmail.com> |
> This was a programming nightmare. > > These are all the sequential prime sets. > > Okay guys and gals I finally have the completed sequence of least > possible moves for any sequential prime pair when these pairs are > used as -- disks are the largest prime number of the pair and pegs the > smallest prime number of the pair. > The sequence below shows the correct number of moves using > the same rules of the Tower of Hanoi except the different number of > pegs depending on the smaller sequential prime as the peg and then the > larger sequential prime as the disk. > The stack of disks begins on the first left most peg and the largest disk > is at the bottom and the next largest on top of that and so on until > reaching the top smallest disk. > The object of this game is to move the whole stack to any other peg > one move at a time and never placing a larger disk on a smaller one in the > process. The least possible number of moves for each prime pair is below. > > disk|peg|least number of moves possible for each prime set. > (5,3)= 15 > (7,5)= 19 > (11,7)=31 > (13,11)=31 > (17,13)=43 > (19,17 =43 > (23,19)=55 > (29,23)=75 > (31,29)=67 > (37,31)=91 > (41,37)=91 > (43,41)=91 > (47,43)=103 > (53,47)=123 > (59,53)=135 > (61,59)=127 > (67,61)=151 > (71,67)=151 > (73,71)=151 > (79,73)=175 > (83,79)=175 > (89,83)=195 > (97,89)=223 > (101,97)=211 > (103,101)=211 > (107,103)=223 > (109,107)=223 > (113,109)=235 > (127,113)=343 the largest gap(14) so far. > ...--->oo > > If anyone can find less moves for any or for all the above sets, please submit > your result. > > Thanks, > > Dan (5,3) was not in the algorithm but instead of (5,3)=15 it should be-- (5,3)=31 or 2^5-1 which was in my original listing. So I just corrected one of my entries. I believe all the rest are correct in this completed list. Dan
Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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