The Power of Milk

Lekar, tävlingar, knep och knåp, men inte någon sandlåda.

Moderator: Moderatorgruppen

Användarvisningsbild
Jörgen
Inlägg: 2627
Blev medlem: 17 okt 2003 21:44
Ort: Årsta
Kontakt:

The Power of Milk

Inläggav Jörgen » 25 jun 2011 13:59

Bild

Användarvisningsbild
Zokrates
Inlägg: 9937
Blev medlem: 14 maj 2007 02:27

Inläggav Zokrates » 27 jun 2011 14:48

Man kanske blir smart av att dricka mjölk?

http://www.jaapsch.net/puzzles/javascript/hanoij.htm
Regler
This puzzle consists of three pegs, and a stack of circular disks of differing sizes, each of which can be threaded onto a peg. At the start, the disks are all in order on the first peg, from the largest disk at the bottom to the smallest disk at the top. You are only allowed to move one disk at a time from one peg to another, and at no time may a disk be placed on top a smaller disk. The aim of the puzzle is to move all the disks from the first peg to the third. The puzzle can be solved with any number of disks, but it takes longer with more disks.

This puzzle was invented by the French mathematician Edouard Lucas in 1883. The description included with the puzzle when it was originally sold called it a simplified version of a mythical 'Tower of Brahma' in a temple in the Indian city of Benares. This tower consisted of 64 disks of gold, which had to be moved to another position by priests. The legend went that before they complete the task, the temple would crumble into dust and the world would vanish in a clap of thunder.

Morningstar

Inläggav Morningstar » 27 jun 2011 15:20

---

Användarvisningsbild
Jörgen
Inlägg: 2627
Blev medlem: 17 okt 2003 21:44
Ort: Årsta
Kontakt:

Inläggav Jörgen » 01 jul 2011 10:31

Jo, tornen roade mig i 20 minuter, sen gav jag upp
och kollade upp det på Internet...

If the legend were true, and if the priests were able to move disks at a rate of one per second, using the smallest number of moves, it would take them 264−1 seconds or roughly 585 billion years;[2] it would take 18,446,744,073,709,551,615 turns to finish.


Ibland är det rätt att ge upp :)

Användarvisningsbild
Zokrates
Inlägg: 9937
Blev medlem: 14 maj 2007 02:27

Inläggav Zokrates » 01 jul 2011 10:53

Jörgen skrev:Jo, tornen roade mig i 20 minuter, sen gav jag upp
och kollade upp det på Internet...

If the legend were true, and if the priests were able to move disks at a rate of one per second, using the smallest number of moves, it would take them 264−1 seconds or roughly 585 billion years;[2] it would take 18,446,744,073,709,551,615 turns to finish.


Ibland är det rätt att ge upp :)


Lustigt sammanträffande, funderade igår på just detta, att ingen skulle kunna lösa det under en livstid men att det skulle ta så lång tid hade jag ingen aning om. Men den med bara 9 ringar tar i snitt 25-30 minuter, så det var ju synd att du gav upp lite för tidigt.

Bild


Återgå till "Lekstugan"

Vilka är online

Användare som besöker denna kategori: 5 och 0 gäster