Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Basil Jet <basil@spamspamspam.com> |
|---|---|
| Newsgroups | sci.math |
| Subject | Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! |
| Date | 2020-10-12 22:42 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <rm2ik4$o92$1@dont-email.me> (permalink) |
| References | <23bc51fb-1894-4652-81e2-73039eb2ca1an@googlegroups.com> <87zh4r6wod.fsf@bsb.me.uk> <f2b5a296-0e2a-40e5-a96d-e6dd820c47ben@googlegroups.com> <87tuuz6sk5.fsf@bsb.me.uk> |
On 12/10/2020 22:30, Ben Bacarisse wrote: > Graham Cooper <grahamcooper7@gmail.com> writes: > >> On Tuesday, October 13, 2020 at 6:01:34 AM UTC+10, Ben Bacarisse wrote: >>> Graham Cooper <graham...@gmail.com> writes: >>> >>>> The TOWERS OF HANOI algorithm starts from a FULL STACK and 2 empty stacks. >>>> >>>> Can you solve a game that someone has already started? >>>> >>>> STACK1 20 18 15 12 11 9 5 4 2 >>>> STACK2 17 14 13 10 3 >>>> STACK3 19 16 8 7 6 1 >>> Since I've told you I have an algorithm for this (and it's not a hard >>> one to come up with) you are presumably just blowing hot air. >> >> >> you cant win $500 for saying "I CAN DO IT" >> >> >> Lets see your solution! > > http://bsb.me.uk/tmp/toh.txt > > It's only just over 2 million moves, and you can check them by computer > of course. (To keep the size down, each move is just two letters -- the > source and destination pin using A, B and C for the pins.) > Your first two moves are CA AC. Clearly that has no effect. My solution is 871709 moves long. It starts 1 from 2 to 0 : count = 1 3 from 1 to 2 : count = 2 1 from 0 to 1 : count = 3 2 from 0 to 2 : count = 4 1 from 1 to 2 : count = 5 4 from 0 to 1 : count = 6 1 from 2 to 1 : count = 7 2 from 2 to 0 : count = 8 1 from 1 to 0 : count = 9 3 from 2 to 1 : count = 10 1 from 0 to 2 : count = 11 2 from 0 to 1 : count = 12 1 from 2 to 1 : count = 13 5 from 0 to 2 : count = 14 1 from 1 to 0 : count = 15 2 from 1 to 2 : count = 16 1 from 0 to 2 : count = 17 3 from 1 to 0 : count = 18 1 from 2 to 1 : count = 19 2 from 2 to 0 : count = 20 1 from 1 to 0 : count = 21 4 from 1 to 2 : count = 22 1 from 0 to 2 : count = 23 2 from 0 to 1 : count = 24 1 from 2 to 1 : count = 25 3 from 0 to 2 : count = 26 1 from 1 to 0 : count = 27 2 from 1 to 2 : count = 28 1 from 0 to 2 : count = 29 9 from 0 to 1 : count = 30 and ends 6 from 0 to 2 : count = 871678 1 from 1 to 2 : count = 871679 2 from 1 to 0 : count = 871680 1 from 2 to 0 : count = 871681 3 from 1 to 2 : count = 871682 1 from 0 to 1 : count = 871683 2 from 0 to 2 : count = 871684 1 from 1 to 2 : count = 871685 4 from 1 to 0 : count = 871686 1 from 2 to 0 : count = 871687 2 from 2 to 1 : count = 871688 1 from 0 to 1 : count = 871689 3 from 2 to 0 : count = 871690 1 from 1 to 2 : count = 871691 2 from 1 to 0 : count = 871692 1 from 2 to 0 : count = 871693 5 from 1 to 2 : count = 871694 1 from 0 to 1 : count = 871695 2 from 0 to 2 : count = 871696 1 from 1 to 2 : count = 871697 3 from 0 to 1 : count = 871698 1 from 2 to 0 : count = 871699 2 from 2 to 1 : count = 871700 1 from 0 to 1 : count = 871701 4 from 0 to 2 : count = 871702 1 from 1 to 2 : count = 871703 2 from 1 to 0 : count = 871704 1 from 2 to 0 : count = 871705 3 from 1 to 2 : count = 871706 1 from 0 to 1 : count = 871707 2 from 0 to 2 : count = 871708 1 from 1 to 2 : count = 871709 I believe it's optimal. How do I get my money? -- Basil Jet recently enjoyed listening to Care - Diamonds And Emeralds
Back to sci.math | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
$500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 05:26 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Basil Jet <basil@spamspamspam.com> - 2020-10-12 14:50 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 12:07 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 15:30 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 15:31 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 15:41 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 16:22 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 16:27 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 16:36 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 16:37 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 16:46 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 17:49 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 17:50 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 17:52 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 17:53 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 18:02 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 18:05 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Sergio <invalid@invalid.com> - 2020-10-12 20:05 -0500
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 18:20 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 18:22 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 18:24 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 18:29 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 18:49 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Sergio <invalid@invalid.com> - 2020-10-12 22:50 -0500
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 21:25 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 16:26 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 16:38 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Peter <peterxpercival@hotmail.com> - 2020-10-13 01:47 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-12 21:01 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 13:12 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Basil Jet <basil@spamspamspam.com> - 2020-10-12 21:24 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Peter <peterxpercival@hotmail.com> - 2020-10-12 21:48 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 13:57 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-12 22:49 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Sergio <invalid@invalid.com> - 2020-10-12 15:25 -0500
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-12 22:30 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Basil Jet <basil@spamspamspam.com> - 2020-10-12 22:42 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-12 23:08 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Dario Alpern <darioalpern@gmail.com> - 2020-10-12 15:23 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-13 00:06 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 16:25 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-13 01:24 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2020-10-12 17:54 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Dario Alpern <darioalpern@gmail.com> - 2020-10-12 17:29 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Basil Jet <basil@spamspamspam.com> - 2020-10-12 23:42 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-13 00:04 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Basil Jet <basil@spamspamspam.com> - 2020-10-13 00:33 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Graham Cooper <grahamcooper7@gmail.com> - 2020-10-12 16:40 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-13 01:06 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-10-13 01:26 +0100
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Archimedes Plutonium <plutonium.archimedes@gmail.com> - 2020-10-12 13:58 -0700
Re: $500 MATHS CHALLENGE ..... just solve this TOWERS OF HANOI ! Dario Alpern <darioalpern@gmail.com> - 2020-10-12 14:33 -0700
csiph-web