Slashdot Mirror


No Magic In A Knight's Tour

morgothan writes "As reported in an article on Math World the solution, or rather lack of solution has been found to the over one hundred fifty year old math problem of how many numbers of magic tours a knight can make on a standard 8x8 chessboard. It turn out that there exist one hundred forty distinct semimagic tours, but no magic tour. The solution came after 61.40 CPU-days, corresponding to 138.25 days of computation at 1 GHz, the project was completed on August 5, 2003 in which every possible enumeration was tried out. The author of the software that finally solved the problem has also put up a webpage in which he further explains the problem and his method of solving it." Thanks to Mig for pointing out a great background page on Chessbase.com.

278 comments

  1. Google Cache of the Web Page by Suhas · · Score: 3, Informative
  2. Interesting problem... by zubernerd · · Score: 0, Insightful

    But are there any practical applications, or is this a climb the "nerd mountain" type of thing?

    --
    Accentuate the positive, don't waste your mod points on the negative.
    1. Re:Interesting problem... by gusilu · · Score: 3, Interesting

      Probably not, but this problem and the way to achieve the magical tour have been going around for quite a few centuries, with some of the brightest minds trying to work on it. So even if it doesn't have practical applications it's still important.

      --
      Don't try to fix me. I'm not broken.
    2. Re:Interesting problem... by Anonymous Coward · · Score: 1, Funny

      So even if it doesn't have practical applications it's still important.

      Why? :-)

      Oh yes, we don't have to spend some of the brightest minds have to work on a useless problem anymore. But I'm sure they'll find another one. :-/

    3. Re:Interesting problem... by Anonymous Coward · · Score: 0

      "for quite a few centuries, with some of the brightest minds trying to work on it"

      and leaves said minds now free to work on more important and practical things

    4. Re:Interesting problem... by Anonymous Coward · · Score: 1, Interesting

      This sort of problem doesn't always have obvious uses, but uses tend to be found in some of the most bizzare applications. Or more usually code breaking/making.

      There was a very interesting series on BBC radio4 (http://www.bbc.co.uk/radio4/science/) called five number and another five numbers which can be streamed from the above link which talks about this sort of thing.

    5. Re:Interesting problem... by frankthechicken · · Score: 2, Interesting

      Thing is though, is this actually an answer with any real point, proving an answer via a simple brute force method is far less interesting(and I would say far less useful) than a mathematical proof.

      For me it is sort of like saying if I hurt my hand with a hammer it damn well hurts rather than investing the underlying reason.

    6. Re:Interesting problem... by jdh-22 · · Score: 1

      Why does there have to be an practical application for something to be important? This is the Slashdot community, which is News for Nerds. Stuff that matters.

      I don't know about you, but I get tired of hearing the plain old news. Most of it is kinda depressing, and hearing stories like this makes you realize how many interesting people there are out there. Sorry, but if I could moderate, your post would be troll. And as for the "nerd mountain", I think you are in the wrong place then.

      --
      Every Super Villan uses Linux.
    7. Re:Interesting problem... by Anonymous Coward · · Score: 0

      Why does there have to be an practical application for something to be important?
      Did I say it was not important... NO. I think it is very interesting, I just wondered (you know questioning everything... which I thought slashdot was all about) if there were any practical applications, since none of the linked articles in the post had any information about any practical aspects.
      I don't know about you, but I get tired of hearing the plain old news.
      Good point... but I'm not an editor; bi**h at the editors, not me.
      And as for the "nerd mountain", I think you are in the wrong place then.
      Can't we jokingly refer to ourselves as nerds without getting defensive.
      I think you have an axe to grind... don't grind it on me.
      I'm posting anonymously... I'm not flamming you, but I'm not going to waste karma on you either.

    8. Re:Interesting problem... by rvega · · Score: 2, Insightful

      It might not be as interesting, but it can definitely be useful.

      As discussed in Simon Singh's excellend Fermat's Enigma, the research done by many other people may be built upon the assumption that a particular mathematical statement is either true or false. Until a proof is presented -- either by brute force or more elegant means -- it us unknown whether the "ediface" built on the assumption will stand or fall.

      Since pure mathematics underlies a great deal of applied research, having mathematical statements proven true or false can tell us whether or not it's worth our time and resources to follow a particular line of reasoning.

      As for the importance of pure research, I think you'll find that a huge number of people in this world are counting on some pretty miraculous discoveries being just around the corner, because based on what we know and know how to do today, we've got some serious problems on the way. Only pure research might enable us to luckily stumble across the right leads. After all, if we knew where to look, we'd already have arrived at the answers.

    9. Re:Interesting problem... by vmfedor · · Score: 2, Funny

      I for one would find you hitting your hand with a hammer much more interesting then watching you work it out on pen and paper. ;)

      --

      I like my women how I like my sugar.. granulated.

  3. Magic Tours... by LordYUK · · Score: 3, Funny

    Maybe if the Knight REALLY wanted to take a Magic Tour he'd consult a Wizard instead of a Computer...

    No wonder he didnt only got a Semimagic tour, damn you Travelocity! Damn you to hell!

    --
    This is my sig. Its pathetic.
    1. Re:Magic Tours... by LordYUK · · Score: 3, Funny

      Gee, "no wonder he didnt only got"...

      maybe I'm on a "magic tour" right now!!

      --
      This is my sig. Its pathetic.
    2. Re:Magic Tours... by Ralph+Wiggam · · Score: 2, Funny

      But Magic Mystery Tours are still only available from the Beatles.

      -B

    3. Re:Magic Tours... by Anonymous Coward · · Score: 0

      That is very possible.

      The best way to tell is to count the number of flowers painted on your minibus.

    4. Re:Magic Tours... by tds67 · · Score: 2, Funny
      Maybe if the Knight REALLY wanted to take a Magic Tour he'd consult a Wizard instead of a Computer...

      Did the Knight beat the Bishop on such a long, lonely journey, I wonder?

    5. Re:Magic Tours... by mikael_j · · Score: 1
      I do believe that just owning a minibus older than 10 years qualifies you as well, unless you're a plumber..

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    6. Re:Magic Tours... by Spunk · · Score: 1

      However you may be able to rent a Magic Bus from the Who.

    7. Re:Magic Tours... by Anonymous Coward · · Score: 0

      and for you frugal types, there's always the Magic Carpet Ride from steppenwolf

    8. Re:Magic Tours... by Zerth · · Score: 1

      but no matter how much want it, want it, want it, you caaan't haveit. Better off going for the abovementioned carpet ride:)

  4. Tired out by Gherald · · Score: 3, Funny

    The solution came after 61.40 CPU-days, corresponding to 138.25 days of computation at 1 GHz

    I bet the horse was tired after hopping around so much.

  5. For our next experiment... by Black+Parrot · · Score: 5, Funny


    Now we're going to examine how many routes there are through all the bars in Amsterdam, and see if there are any "magic" routes that will let us complete the circuit without falling drunk in a bed of tulips.

    --
    Sheesh, evil *and* a jerk. -- Jade
    1. Re:For our next experiment... by technix4beos · · Score: 2, Funny

      In Holland, we call them "magic roots".

      Purely for medicinal purposes, you understand...

      --
      user@host$ diff /dev/urandom /dev/uspto
    2. Re:For our next experiment... by Felinoid · · Score: 1

      I'll brute force this one with a portable transporter.

      --
      I don't actually exist.
  6. Re:A note to the anti-MS zealots by Anonymous Coward · · Score: 0

    sure, if you just leave a single (well written) program running by itself windows is fine. Just don't try to do 2 things at once.

  7. Another interesting math problem by Anonymous Coward · · Score: 0, Offtopic
    I've been doing a bit of thinking about the Monty Hall Problem, where assuming the following occurs:

    • You are on a famous game show and being presented with three doors, behind one of which there is a fantastic prize, and the other two lesser prizes or sand or something.
    • You choose one of the doors.
    • The host opens one of the remaining doors to demonstrate that it does not contain the fantastic prize, and offers you the opportunity to switch your choice.
    Do you? Mathematically speaking, I've always been told that you should, because your first choice was a 1 in 3 shot but after the door has been opened you are being given a 1 in 2 opportunity.

    However, I just wrote a quick demonstration program, and found out that this isn't the case, and as you've probably expected it really is 1 in 3 no matter which way you go. You win this one, high school math teacher.

    1. Re:Another interesting math problem by Muhammed+Absol · · Score: 1

      actually, it's 1 in 2 because in this hypothetical situation, one door is always opened that is not the prize, so you never have a 1 in 3.

    2. Re:Another interesting math problem by qui_tollis · · Score: 3, Informative

      You're mistaken, although you are in good company, no less a mathematician than Paul Erdos made the same error.

      Post your code if you still think switching makes no difference.

    3. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      No, he's right.
      You ALWAYS have a 1 in 2 chance of picking the right door, the third door is just here to confuse the dim witted.

    4. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      I think a Rush quote aptly sums this up:

      "If you choose not to decide you still have made a choice"

    5. Re:Another interesting math problem by Deathlok's+Bear · · Score: 4, Insightful

      You're wrong...but don't feel bad. Lots of people make this mistake. Assuming the 'host' always opens one of the remaining doors and the remaining door never has a prize behind it, you should always switch. Why? On your first pick you have a 1 in 3 chance of getting the prize. If you always switch, your chance of getting the prize becomes 2 in 3. Prize -> Goat Goat1 -> Prize Goat2 -> Prize Thus, you win. or, to put it another way... Imagine there are 1000 doors and after picking a single door (1/1000 chance of getting the prize) the host opens all but 1 door. Would you switch? Of course! At that point there's a 9999/1000 chance you will win!

    6. Re:Another interesting math problem by Another+Nils · · Score: 4, Informative

      If it turns out 1/3 to 1/3 no matter if you switch, then your program sometimes opens the door with the big prize in it, I guess.

      It really works like this:
      Assuming you picked door A, then there are three possible situations:
      -The prize is behind door A
      -The prize is behind door B
      -The prize is behind door C

      So if you stick to the door you just picked, then you have a 1/3 chance of winning.
      Now obviously there's a 2/3 chance that the prize is behind one of the two other doors. And the host is basically giving you the information
      "IF the prize is behind one of the two remaining doors, then it is behind THIS one" by opening an empty door.
      So switch, it will give you a 2/3 chance of winning.

      And yes, I had to write a program, too, before I actually believed it.

    7. Re:Another interesting math problem by Anonymous Coward · · Score: 4, Informative

      Imagine that you always stick with your first choice. Therefore, you've got to select the right door in the first place to win, hence your chance of winning by always sticking is 1 in 3.

      Now imagine that you always switch. If you picked the right door to start with, you're screwed as you will always lose by switching. However, if you pick one of the two wrong doors then the host must to open the other wrong door, leaving just the right door remaining. So if you picked a wrong door in the first place, you are guaranteed to win by switching. Your chance of selecting a wrong door initially is 2 in 3 and therefore your chance of winning by always switching is 2 in 3.

      1/3 + 2/3 = 1, hence all possibilites are accounted for and it is proved that by switching you twice as much chance of winning than by sticking.

    8. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      sorry to say this but you are wrong.
      when you chose a door your chanse is 1/3 rigth.
      that mean that there is a 2/3 proboility that the
      prize is bheind the to other doors. when the host opens one door then there is only one dor left and that door contains the proboility of 2/3.

      i also wrote a software that proves just that.
      to bad i cant find it mayby i should do it agin.

      anyway the easiest way to see throw this problem is to say if it was 100 doors
      you chose one then the host opend 98incorect doors would you switch
      the exact same problem just more doors.

      and there you se it the first door has a 1/100 probobility and the other door has a 99/100 probobility

      sorry im not native english speaker

    9. Re:Another interesting math problem by Dashing+Leech · · Score: 5, Insightful
      Actually, not quite right, it's never 1/2. You have a 1/3 chance of picking the right door if you stay with your first choice, and a 2/3 chance if you switch. No need for simulation, just look at the possibility matrix:

      \ 1 2 3
      A y n n
      B n y n
      C n n y

      The top row is the door number, the letters are the three cases, y means 'yes' (location of prize), n means 'no'. Suppose you chose door #1. In case A he'll show you door 2 or 3, in case B he'll show you #3, in case C he'll show #2. Only in Case A will you win by sticking with it. Case B and C you'll win by switching. That's 2/3 chance of winning by switching. Same thing regardless of what choice of door you made first.

    10. Re:Another interesting math problem by qui_tollis · · Score: 2, Informative

      Are you sure you read the correct parent post to mine? He is wrong, and you are as well, although your statement disagrees with his.

      Suppose there are doors A, B and C. Let's say you pick door A originally, and the host then shows door B to be empty. Given this information, there is a one in three chance that the prize lies behind door A, and a two in three chance the prize lies behind door C.

      Google for 'Monty Hall' for proofs of this.

    11. Re:Another interesting math problem by utahjazz · · Score: 4, Informative

      ...Assuming the 'host' always opens one of the remaining doors and the remaining door never has a prize behind it...

      A note to all the people writing code to solve this, the key to this problem is that Monty intentionally chooses a door that has no prize behind it. No doubt, some of you are interpreting this problem as, "Monty chooses another door at random, and we're only examining the cases where he chooses the door with no prize". If that is your interpretation, then switching doesn't matter, but the traditional Monty Hall Problem assumes Monty knows what's behind the doors and chooses accordingly.

    12. Re:Another interesting math problem by nnnneedles · · Score: 1

      I don't believe this.

      To me it is obvious that after opening one of the doors the chance of winning is 1/2 no matter what door you choose.

      It is just the same as if you were presented with a completely new set of doors (2 of them), of which one had a a prize behind it.

      Chance has no way of knowing that there were three doors just a minute before, and that fact is completely irrelevant to the problem posed.

      --
      Will code a sig generator for food
    13. Re:Another interesting math problem by kudos200 · · Score: 1
      You're wrong...but don't feel bad. Lots of people make this mistake. Assuming the 'host' always opens one of the remaining doors and the remaining door never has a prize behind it, you should always switch. Why? On your first pick you have a 1 in 3 chance of getting the prize. If you always switch, your chance of getting the prize becomes 2 in 3. Prize -> Goat Goat1 -> Prize Goat2 -> Prize Thus, you win. or, to put it another way... Imagine there are 1000 doors and after picking a single door (1/1000 chance of getting the prize) the host opens all but 1 door. Would you switch? Of course! At that point there's a 9999/1000 chance you will win!

      Where are you getting this from? He must be wrong just because you believe differently? Think about this:

      You pick door A. Then the host opens door C. You say: "always switch to door B." Ok, well how about this: assume, at the same time, there was a guy who had started out by picking door B. Should he switch to door A now? By your logic, he should. But that means that both A AND B are "better" choices than each other, at the same time . . . doesn't make sense, does it. By your logic that's how things are, and they don't make sense. Maybe your logic is wrong . . .

      Personally, I would have thought that the end result was winning 50% of the time, since one of the two is open. That's what seems to make sense to me. Two doors remaining, one with a prize behind it. (The parent post about having a 9999/1000 (though he means 999/1000) chance after 998 doors have been opened is ridiculous; the logic is incredibly flawed.)

      Anyways, that's what I think.

    14. Re:Another interesting math problem by Daniel_Staal · · Score: 1
      Chance has no way of knowing that there were three doors just a minute before, and that fact is completely irrelevant to the problem posed.

      False. Chance, in this case, is controlled by the game show host. He does know there are three doors, and which one has the prize.

      That said, the 1/3-2/3 thing is only applicable if two things are true: That the host must open a door, and that the door must be empty. If those are not true (which they weren't in the original show) then the whole analysis flys out the window.

      Best explanation today is in a post above.

      --
      'Sensible' is a curse word.
    15. Re:Another interesting math problem by iworm · · Score: 1

      ...the logic is incredibly flawed.

      For someone who writes things like "I would have thought" and "That's what seems to make sense" I don't think you are in a position to posture on logic. In what way, exactly, is that poster's logic flawed?

    16. Re:Another interesting math problem by qui_tollis · · Score: 1

      Where are you getting this from? He must be wrong just because you believe differently?...

      Er.. no. Maths divides things into 'correct' and 'not correct' (unless you want to get into formalistic stuff). He is wrong, not because of opinion, but because there is a valid proof that he is wrong.

      You pick door A. Then the host opens door C. You say: "always switch to door B." Ok, well how about this: assume, at the same time, there was a guy who had started out by picking door B. Should he switch to door A now? By your logic, he should. But that means that both A AND B are "better" choices than each other, at the same time . . . doesn't make sense, does it. By your logic that's how things are, and they don't make sense. Maybe your logic is wrong . . .

      Yes, they are both better choices. That is not the same thing as saying they are both the correct choice, i.e. that the prize is behind each, just that based on the information available to the contestant, they have more chance of success if they switch door.

      Try this analogy. The contestant picks a door, and is then told he can either open that door or all the other doors. Obviously you would choose to open the other two doors. The only difference between this and the standard Monty Hall problem is that in the standard case the host opens one of the other doors for you.

    17. Re:Another interesting math problem by mikael_j · · Score: 1
      Someone never took math courses that were attended by an ungodly number of math majors (ungodly = more than 10). I don't think I've ever heard a mathematician be certain of anything (except ~3 seconds before someone pointing out that their proof of something was in fact wrong..)

      /Mikael

      --
      Greylisting is to SMTP as NAT is to IPv4
    18. Re:Another interesting math problem by wagemonkey · · Score: 1
      Actually, not quite right, it's never 1/2. You have a 1/3 chance of picking the right door if you stay with your first choice, and a 2/3 chance if you switch. No need for simulation, just look at the possibility matrix:

      \ 1 2 3
      A y n n
      B n y n
      C n n y

      The top row is the door number, the letters are the three cases, y means 'yes' (location of prize), n means 'no'. Suppose you chose door #1. In case A he'll show you door 2 or 3, in case B he'll show you #3, in case C he'll show #2. Only in Case A will you win by sticking with it. Case B and C you'll win by switching. That's 2/3 chance of winning by switching. Same thing regardless of what choice of door you made first.

      There are two cases where you win by sticking. Where you are shown #2, and where you are shown #3.

      \ 1 2 3 - pick - shown
      S y n n -- 1 -- 2
      T y n n -- 1 -- 3
      U n y n -- 1 -- 3
      V n n y -- 1 -- 2

      There are two cases where you win by changing.This makes it 1/2, if I am wrong, why?

      Apologies for the ugly formatting, but I don't know how to get /. to accept some whitespace :-(

    19. Re:Another interesting math problem by linuxelf · · Score: 1

      Your program must have been flawed. You should definitely always take the other door. Think of it this way. Suppose you chose a door. And, instead of opening one, Monty says "Ok, here's a new deal. You can either keep your door, or trade it for both the other doors." What would you do? If you took both the other doors, how suprised would you be to find that one of the doors was a loser? That's exactly the deal he is making with you, except he's just showing you the losing door earlier.

      --
      - "That's just the kind of fuzzy-headed liberal thinking that leads to being eaten."
    20. Re:Another interesting math problem by Prior+Restraint · · Score: 1

      I don't buy it. When Monty Hall opens the door, he changes the problem. A simple brute-force technique will show you that your odds of winning are 50-50:

      P = Prize behind this door; N = No prize behind this door; Bold = The door you initially picked; Italics = The door Monty Hall reveals; K = Keep your original door; S = Switch doors; W = You win with this strategy; L = You lose with this strategy.

      1 2 3 K S
      P N N W L
      P N N W L
      P N N L W
      P N N L W
      N P N L W
      N P N W L
      N P N W L
      N P N L W
      N N P L W
      N N P L W
      N N P W L
      N N P W L

      6 wins, 6 losses no matter what your strategy.

    21. Re:Another interesting math problem by JPS · · Score: 3, Informative
      Yeah, you should switch.
      The point is that the host knows where the prize is, and that he is giving away a lot of info by opening one door. It would be useless to switch if he opened the door at random and could possible find the prize himself.

      • If you picked the correct door upfront (1/3), and switch, you lose.
      • If you picked the wrong door upfront (2/3), and switch, you win.

      so you should switch. As simple as that :)

      And, your demo prg must be wrong. Remember that the host should use his knowledge and always open and empty door, never the correct one ...
    22. Re:Another interesting math problem by vsack · · Score: 1

      Think of it this way...

      If you pick the correct door the first time (1/3 chance), and he shows you another door, and you switch, you lose.

      If you don't pick the right door the first time (2/3 chance), he shows you another loser, and you switch, you win.

      So, with the strategy to switch after he shows you another loser, you will win 2/3 of the time.

    23. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      This makes it 1/2, if I am wrong, why?
      Because your four cases do not share equal probability. Case S or case T is 1/2 as likely to occur as case U or case V.
    24. Re:Another interesting math problem by bigjocker · · Score: 1

      That only applies for a series of matches. If you only have one chance, switching does not give you any advantage, because each of the 2 closed doors has the same probability of containing the prize. Look a it this way (you have only one shot):

      You have 3 doors

      * X X
      A B C

      The prize is on door A (the *), you pick door A and the host opens the door C:

      * X
      A B

      You already picked door A, and regardless of the probabilities in the past step, this is a new problem, and you are reduced to a 1/2 probability. The probability of the 2nd state is independent of any state. So if you keep your decision or you switch is exactly the same.

      Only with several chances you can, statistically, assert that switching increases the possibilities, but if you only have one shot, it does not matter.

      --
      Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.
    25. Re:Another interesting math problem by Placido · · Score: 1

      Why is case S or T 1/2 as likely?

      Maybe it's me but I'm looking at this from a completely different perspective.

      You have two doors. One has the prize. One doesn't. You've already picked door A. What's the chances of you winning the prize if you change and pick door B. All the host of the show has done is remove one door from your list of choices.

      Either this problem is very very easy or I'm very very stupid. :(

      --

      Pinky: "What are we going to do tomorrow night Brain?"
      Brain: "I would tell you Pinky but this 120 char limi
    26. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      The point is that the host knows where the prize is, and that he is giving away a lot of info by opening one door.
      Bull. The point is that because the host knows where the prize is, he is giving no information by showing you a door without a prize, because he can always do that, regardless of which door you initially chose. After he's shown you the a non-prize door the chances that the prize is behind one of the other doors is 1/2 - and if the game procedure is that the knowledgable host always shows you a non-prize door after you've made your choice, then your chance of winning was always 1/2 right from the beginning, switching or not switching.

      If you calculate anything different, you're not taking into account what choices the host has: if you picked the prize door (1/3 probability) initially he has a choice of 2 non-prize doors; if you chose one of the non-prize doors (2/3 probability) he only has 1 choice available. Do the math, kids.

    27. Re:Another interesting math problem by Dashing+Leech · · Score: 1
      The problem is with your use of the word "case". Your S and T cases are two sub-cases of my A. The odds for my cases are: A(1/3), B(1/3), C(1/3). The odds for yours are: S(1/6), T(1/6), U(1/3), V(1/3).

      Consider it another way. You have a 1/3 chance of getting it right on the first pick. That's means there's a 2/3 change it's one of the other doors. You know it's not the one he showed, which means the 2/3 chance must be for the remaining door.

      There's also a bunch of online simulations for this that show it's 2/3 to switch. For instance, here.

    28. Re:Another interesting math problem by Another+Nils · · Score: 1

      While making a table of all possibilities is generally a good idea, you have to watch out that all the cases you are mapping out are equally likely. If you look at your table again, you initially pick the right door 50% of the time. That can't be quite right...

      1 2 3 K S
      P N N W L
      P N N W L
      P N N L W
      P N N L W
      (picking the right door 2 times out of 4?)

      You are probably confused because in that case the host has two doors he can open, so he will open each of them 50% of the time. If you compensate for that by weighting these lines with a factor of 0.5, than you'll come out at the right 1/3 against 2/3 probability.

      But probably the best way to get a feeling for this problem and how weird probability can be would be to find someone to play the host for you and just try it ;)

    29. Re:Another interesting math problem by arsinmsn · · Score: 1

      See the novel "The Curious Incident of the Dog in the Night-Time" by Mark Haddon, for a solution & a quick read from the point of view of an autistic savant. It, by the way, presents the opposing point of view on the Monty Hall problem.

    30. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      Where are you getting this from? He must be wrong just because you believe differently?

      No, he's wrong because he's wrong.

      Seriously, people drop it. The Monty Hall problem has been done to death. You will win 2/3 of the time if you switch. If you still don't believe this after hearing the explanation, then take a look at one of the many empirical tests which have borne out this conclusion. This is grade-school science fair stuff.

      You will win 2/3 of the time if you switch. Period. Maybe not in your mind, but that's how it works in the real world.

    31. Re:Another interesting math problem by rvega · · Score: 1

      It doesn't matter what happened on the show. This is a math problem, so the conditions stated are formal ones: The situation exists exactly as described, and there are no unstated variables or outside influences.

      The problem states that the host opens one of the doors you didn't pick, and that there's no prize there. This ALWAYS happens, because this is a math problem, not a game show based in reality. Since it ALWAYS happens, the host-picked door (which is always empty) actually doesn't have any bearing on the problem. You can safely eliminate it from consideration. It's there, as a previous poster correctly stated, to confuse you. It seems to have been a big success.

      In fact, you have and have always had a 50/50 chance, and it doesn't matter which door you choose.

    32. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      Why is case S or T 1/2 as likely?

      Because he is showing TWO cases in which the prize is behind door 1, and only ONE case for each of the other doors.

      Think of it this way: You know that all of the probabilities must add up to 1. And you know that there is a 1/3 chance of the prize being behind any given door. Thus, all of the probabilities involving any single prize location must add up to 1/3. Since, in the earlier example, both S and T involved the prize being behind door 1, then their probabilities must ADD UP to 1/3. That is to say, either one has a probability of 1/6.

      This is probably overkill, but here is a more complete probability matrix: (assume door 1 is picked in all cases):

      \ 1 2 3 - shown
      R y n n - 1
      S y n n - 2
      T y n n - 3
      U n y n - 1
      V n y n - 2
      W n y n - 3
      X n n y - 1
      Y n n y - 2
      Z n n y - 3

      Although there are nine outcomes, obviously they are not equally probable. Monty cannot open the door that you picked, nor can he open a door with a prize behind it. Therefore, most of these have a probability of zero.

      The probabilities for R, S, and T must add up to 1/3; and likewise for U, V, and W; and for X, Y, and Z. Consequently:

      The probability of R is 1/3*0, or 0.
      The probability of S is 1/3*1/2, or 1/6.
      The probability of T is 1/3*1/2, or 1/6.
      The probability of U is 1/3*0, or 0.
      The probability of V is 1/3*0, or 0.
      The probability of W is 1/3*1, or 1/3.
      The probability of X is 1/3*0, or 0.
      The probability of Y is 1/3*1, or 1/3.
      The probability of Z is 1/3*0, or 0.

      I chose to show the cases which have zero probability because it underlines the fact that not all outcomes are equally probable. It also gives lie to any idea that there is a 1/4 probability involved anywhere.

    33. Re:Another interesting math problem by rvega · · Score: 1

      Apparently (judging my what Google turned up) I am mistaken ... but as yet unconvinced. I'll have to do something about that.

      At least I'm not trying to get a job at Microsoft.

    34. Re:Another interesting math problem by dmadole · · Score: 1

      Prior Restraint (179698) said:

      P = Prize behind this door; N = No prize behind this door; Bold = The door you initially picked; Italics = The door Monty Hall reveals; K = Keep your original door; S = Switch doors; W = You win with this strategy; L = You lose with this strategy.

      1 2 3 K S
      P N N W L
      P N N W L

      The error that you've made in this analysis can be summed up in the first two lines of your table. In the case where the player chooses the correct door, it is irrelevant which door Monty choses, so they are not two separate cases as you have shown. Monty could always pick the lower-numbered door and not change the problem.

      Why not run a simulation if you don't believe?

      #!/bin/sh

      rand2 () {

      dd if=/dev/urandom bs=1 count=1 2>/dev/null |
      tr '\0-\177' "${1#?}" | tr '\200-\377' "${1%?}"
      }

      rand3 () {

      two="${1#?}"
      unset rand

      while [ -z "$rand" ]
      do
      rand=`dd if=/dev/urandom bs=1 count=1 2>/dev/null |
      tr '\0-\124' "${1%??}" | tr '\125-\251' "${two%?}" |
      tr '\252-\376' "${1#??}" | tr -d '\377'` done

      echo "$rand"
      }

      echo "runs prize choice monty other stay switch"

      while :
      do

      prize=`rand3 123`
      choice=`rand3 123`
      monty=`echo "123" | sed -e "s/$prize//" -e "s/$choice//"`

      if [ "${#monty}" != 1 ]
      then monty=`rand2 "$monty"`
      fi

      other=`echo "123" | sed -e "s/$monty//" -e "s/$choice//"`

      [ "$prize" = "$choice" ] && stay=$(( $stay + 1 ))
      [ "$other" = "$prize" ] && switch=$(( $switch + 1))
      runs=$(( $runs + 1 ))

      echo "$runs $prize $choice $monty $other $stay $switch"

      done
    35. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      You're right, Monty isn't really giving you any information by opening a door. But YOU are giving HIM information, based on your initial choice, which affects his subsequent actions.

      The probability would be 1/2 IF AND ONLY IF Monty could choose to open the door that you picked, to show it empty. But he is forbidden from doing that. Therefore, 2/3 of the time, the prize is hidden behind the OTHER door, the one that you didn't pick and he didn't open.

    36. Re:Another interesting math problem by jea6 · · Score: 1

      That's a really good explanation but I'm having a hard time considering the third door as part of the equation. You are given the chance to win or not win a prize. (And to have a psychological ride thanks to fear and uncertainty)

      Eg.

      Host says pick between door 1 and door 2.
      Host says 'Are you sure? Do you want to switch?'

      The way I see it, the third door is irrelevant. You are always making the following choices:

      1) Pick from a winning or non-winning door.
      2) Choose to keep the same choice as above or choose another.

      The fact that the host opens 1000 doors and let's you choose to change them doesn't increase your chances if, ultimately, you are left with two doors. It only matters you are ever not left with two doors.

      Eg.

      Choose from four doors: I choose A.
      Well, door D doesn't have the prize.
      Choose from three doors: I choose A.
      Aha! A does not have the prize. You lose.

      It seems like the Gambler's Fallacy at work here. Ultimately it only boils down to the FINAL choice you make when the win-loss decision is made. The rest has no bearing (other than, again, psychological) on the final decision.

      So, thanks for the helpful Matrix. I'll be stubborn and consider the problem a 50-50 chance. And you should usually go with your first instinct anyway.

      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
    37. Re:Another interesting math problem by Breakfast+Pants · · Score: 1

      You pick a door. You have a 2 in 3 chance of getting a loser. A bad door is removed, since 2 out of 3 times you have a loser, 2 out of 3 times a switch gives you a winning door. 1 out of 3 times a switch will result in a lose. The key is monty knows which doors are empty and after your initial choice if you were correct he will never open your door, but you only had a 1/3 chance of being correct, so 2/3 of the times he will provide a situation where switching is better.

      --

      --

      WHO ATE MY BREAKFAST PANTS?
    38. Re:Another interesting math problem by Placido · · Score: 1

      Your probabilities are screwed.

      Although there are nine outcomes, obviously they are not equally probable. Monty cannot open the door that you picked, nor can he open a door with a prize behind it. Therefore, most of these have a probability of zero.

      True BUT your logic is flawed in that they're all either 0 or equally probable. S is just as likely to happen as T or W or Y. Let's show all possible routes given a choice of door 1:

      \ 1 2 3 - shown
      R y n n - 1
      S y n n - 2
      T y n n - 3
      U n y n - 1
      V n y n - 2
      W n y n - 3
      X n n y - 1
      Y n n y - 2
      Z n n y - 3


      Since we're listing all possible situations, each route has a probability of 1/9. Agreed?
      Now lets remove the incidents where Monty cannot open the door picked or the door with the prize:

      \ 1 2 3 - shown
      S y n n - 2
      T y n n - 3
      W n y n - 3
      Y n n y - 2


      Now we're listing all possible situations considering Monty's information. Thus each route has equal probability. 1/4.

      Hence if you stick with your door (route S or T) then you have 1/2 chance of being right. If you change (route W or Y) then you also have 1/2 a chance of being right.

      Alternatively look at it this way.
      If Monty shows you what's behind one door, then the prize is behind one of 2 doors... hence you've got a 1 in 2 chance of being right no matter what door you choose.

      --

      Pinky: "What are we going to do tomorrow night Brain?"
      Brain: "I would tell you Pinky but this 120 char limi
    39. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      How do you explain real-world tests that show that people who switch win 2/3 of the time?

    40. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      Since we're listing all possible situations, each route has a probability of 1/9. Agreed?

      No. Do you even know what probability means? There is ZERO probability that Monty will open the door that you picked. There is ZERO probability that Monty will open a door with the prize behind it. He is forbidden from doing this by the rules of the game.

      The fact that you can list four possible outcomes does not prove that each one has 1/4 probability. You are ignoring the fact that S and T must add up to 1/3.

      If the prize is behind door 1, Monty can open EITHER door 2 OR door 3 -- not both. The probability that he will open door 2 is 1/2. The probability that he will open door 3 is 1/2.

      If the prize is behind door 2, he can ONLY open door 3. The probability that he will do so is 1.

      If the prize is behind door 3, he can ONLY open door 2. The probability that he will do so is 1.

      Multiply these probabilities by the likelihood that the initial choice was correct (1/3), and you get 1/6, 1/6, 1/3, and 1/3.

      And if you don't believe me, test it out with a friend. If you always switch, you will win 2/3 of the time. I guarantee it.

    41. Re:Another interesting math problem by Muhammed+Absol · · Score: 1

      ok, look. you're all being thrown off because you don't realize that one wrong door virtually doesn't exist. A wrong door will be eliminated each time. Your chance of landing on the right door from the start is 1 in 2 even though there are 3 doors because one of the incorrect doors, will be eliminated. It doesn't matter whether you switch or not, the odds are 1 in 2 to start, and 1 in 2 after the third door is gone. If there are 100 doors, and 98 of them are removed after you choose one that is wrong, and you are then offered to choose again, your odds are still 1 in 2. It comes down to you having one right and one wrong possibility in this scenario, from start to finish. 1 in 3 NEVER exists.

    42. Re:Another interesting math problem by Doctor+Hu · · Score: 1
      You're right, Monty isn't really giving you any information by opening a door. But YOU are giving HIM information, based on your initial choice, which affects his subsequent actions.
      You see only that he opens a door without a prize. You can't tell whether he had a choice between 2 doors (you picked right) or his move was forced (you picked wrong and there's only one other non-prize door). It's not a case of Monty "not really giving you any information" (whine, whine, life is so unfair). Monty is simply giving you no information.
      The probability would be 1/2 IF AND ONLY IF Monty could choose to open the door that you picked, to show it empty. But he is forbidden from doing that. Therefore, 2/3 of the time, the prize is hidden behind the OTHER door, the one that you didn't pick and he didn't open.
      Bull. If Monty is allowed to open the door you picked, IF it's empty, then you'd better switch to one of the other doors. Guess what? You've now got a 50% chance of choosing the right one from the two others.

      If all else fails, just count. Call the doors A, B, and C, and have the contestant choose door A. Case 1: there's a prize behind the door. Monty can open door B or door C: two possibilities. Case 2: there isn't a prize behind door A. In that case the prize is either behind door B, and Monty opens door C, or it's behind door C and Monty opens door B. Also 2 cases. Probability that prize is behind door A: 1/2.

      For pity's sake, kids, this isn't quantum mechanics with some sort of spooky action at a distance which somehow magically moves the prize in a way that you can predict (although some real-world game shows sometimes appear to work that way;). It's elementary counting, so if you end up with a counter-intuitive result, the chances are that you haven't understood what you're doing.

      (Whether God plays game shows with the universe is left as an exercise for the humor-impaired, who will post to /. and get moderated +1 funny by other humor-impaired denizens and +1 insightful by those who regard /. as being little more than a game show itself these days.)

    43. Re:Another interesting math problem by Prior+Restraint · · Score: 1

      (picking the right door 2 times out of 4?)

      Oh, bother. I'm an idiot.

      If you compensate for that by weighting these lines with a factor of 0.5...

      Yep, it seems so obvious now. I'll just sit in the back here and let the grownups do all the talking.

    44. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      Excellent troll! For a group that spends a lot of time congratulating itself on its high intelligence, Slashdotters sure are stupid.

    45. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      (The parent post about having a 9999/1000 (though he means 999/1000) chance after 998 doors have been opened is ridiculous; the logic is incredibly flawed.)

      Just saying "the logic is incredibly flawed" does not a proof make. Especially when you're so completely wrong as you are.

      I'll write out the 1000 doors argument step by step, and let's see if you can point out where it's "logically flawed." (Hint: you can't)

      a- 1 of the 1000 doors has the prize behind it. The other 999 do not.
      b- The player chooses one of these doors at random.
      c- Therefore, from a and b, and the rules of probability, the player has a 1/1000 chance of being right, and a 999/1000 chance of being wrong.
      d- After the player has chosen, the host opens up 998 of the doors, excluding the player's choice and the correct answer.
      e- The correct answer must now either lie behind the player's choice, or the one closed door that's left. (by inspection from d)
      f- From elementary probability theory, the probability of all possible events must equal 1.
      g- from c,e, and f: If the probability of the prize being behind the player's choice is 1/1000, then the probability of the prize being behind the other door is 999/1000.

      Your fallacy is thinking that when there are only two doors left, the probabilities magically reset themselves to 50% each. This is not true. Probabilities are only equally distributed when a random choice or event occurs. The player randomly chooses from 1000 doors initially, giving the door he or she chose a 1/1000 chance of being right. The host does *not* open the other doors randomly -- rather, he opens them being sure to avoid the correct one. At the end the player is faced with two doors: one with a 1/1000 chance of being right (it can *only* be right if the player made the right chance the first time), and the other with a 999/1000 chance. *NOT* 50/50.

    46. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      The way I see it, the third door is irrelevant.
      The third door is relevant, because you could have picked it. Thus, you have only a 1/3 chance of being correct on your first guess.

      Consequently, there is a 2/3 chance that the prize is behind one of the other doors. Even after Monty opens one of them, there is still a 2/3 chance that the prize is behind one of the other two doors. Only now you know that the probability of the prize being behind the open door is zero. The probability of the two doors together must add up to 2/3... And 2/3 probability minus zero probability gives 2/3 probability for the other door.

    47. Re:Another interesting math problem by PenguiN42 · · Score: 2, Insightful

      Since it ALWAYS happens, the host-picked door (which is always empty) actually doesn't have any bearing on the problem. You can safely eliminate it from consideration.

      WRONG. Your choice had a 1/3 chance of being right because there were 3 doors to begin with, among which you chose randomly. Therefore all 3 of those doors are important to the problem, because they specify the conditions in which your first choice is made. Just because the host removes doors doesn't suddenly change the probability of your *initial* choice.

      To make it more clear: say there are 1,000,000 doors. Choose one randomly. Not a very good chance of being correct, right? (1/1,000,000). Now the host opens all the doors but yours and one other, showing that they are empty. Would you now go and say that your initial choice has a 50% chance of being right?

      If you would, then you're a fool. Because the other door has a 99.9999% chance of being the correct one. Think about it -- your original choice is still your original choice, made out of a million doors. The *other* door is basically the host saying "well, if you chose the wrong door, then *this* is definitely the correct one." Since the chance of you having chosen the wrong door at first is 999,999/1,000,000, then that means the chance that the other door is correct is 999,999/1,000,000 as well.

      This logic works for 3 doors, as well, but for some reason doesn't seem as intuitive.

      --
      The following sentence is true. The preceding sentence was false.
    48. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      Probability theory certainly does matter even if you have only "one shot." And you're completely distorting probability theory.

      When the host opens a door, it does not reset and become a completely new problem. Your original choice still has a 1/3 probability of being correct, no matter what doors the host opens or burns down or paints yellow. This is because you made that choice out of three equally probable opportunities.

      It's very amusing seeing the range of snotty math-speak that people try to use to prove something true when it's 100% demonstrably false. Only one shot, it doesn't matter? "you are reduced to a 1/2 probability"? what are you smoking, buddy?

    49. Re:Another interesting math problem by jea6 · · Score: 1

      No, you couldn't. You could have never picked the door without the prize that Monty was going to open. Monty knows there are two doors with no prize. So he picks one of them: 50% of the time its the door without the prize that you didn't choose.

      This is a question of precision and accuracy. You know going into the game that there are precisely two doors with no prize. You just don't know with accuracy until after the prize is revealed.

      Think of it this way: You never have a first guess because, regardless of which door you choose, Monty will always have a second empty door to try and distract you.

      The more I think about this, the more it sounds like Gambler's fallacy to me. When you ultimately choose between two doors (regardless of the fact that you had already chosen one of the doors) you have a 1 in 2 chance of picking the right door.

      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
    50. Re:Another interesting math problem by Placido · · Score: 1

      Argh! There goes any chance of me working with probabilities ever again!!

      Finally worked it out. I'm off to sulk.

      --

      Pinky: "What are we going to do tomorrow night Brain?"
      Brain: "I would tell you Pinky but this 120 char limi
    51. Re:Another interesting math problem by PenguiN42 · · Score: 1

      Holy crap. It's amazing seeing people like you stoop to insults to try to defend something that has been proven mathematically false many times over.

      You see only that he opens a door without a prize. You can't tell whether he had a choice between 2 doors (you picked right) or his move was forced (you picked wrong and there's only one other non-prize door). It's not a case of Monty "not really giving you any information" (whine, whine, life is so unfair). Monty is simply giving you no information.

      OK, let's take "information" out of the discussion right now. Information is defined by how probabilities are changed by certain actions. So, deriving probabilities from "amount of information" is circular. Let's look directly at the probabilities.

      If all else fails, just count. Call the doors A, B, and C, and have the contestant choose door A. Case 1: there's a prize behind the door. Monty can open door B or door C: two possibilities. Case 2: there isn't a prize behind door A. In that case the prize is either behind door B, and Monty opens door C, or it's behind door C and Monty opens door B. Also 2 cases. Probability that prize is behind door A: 1/2.

      Counting is a good idea, and you do it well. But you neglect to the apply some very basic probability theory to what you've counted.

      Case 1 -- yes, the host has a choice of which door he can open. But what you are neglecting is that Case 1 itself -- ie, that the door you chose was the correct one -- has a probability of 1/3.

      Case 2 itself, likewise, has a probability of 2/3.

      Reiterating: in your initial choice, you have a 1/3 chance of choosing the correct door, and a 2/3 chance of being wrong. Case 1, 1/3. Case 2, 2/3.

      If you don't agree with me at this point, I suggest you stop spewing your crap and just get out of the conversation.

      Alright, now when case 1 occurs, the host has a 50/50 choice of which other door to open. Therefore, in the grand scheme of all outcomes, him opening the first door has a probability of 50% * 1/3 = 1/6, and him opening the 2nd door also has a probability of 1/6.

      Now, in case 2, he can only open the door that doesn't have the prize. Within case 2, there's a 50% chance of the prize being behind either door. Therefore, among all possible outcomes, him opening the first door has a probability of 50% * 2/3 = 1/3. Same with the second door.

      Let's reiterate:

      Case 1 -- host opens first empty door, 1/6
      Case 1 -- host opens 2nd empty door, 1/6
      Case 2 -- host opens first door, 1/3
      Case 2 -- host opens second door, 1/3

      So, as you can see, you certainly counted correctly. Congratulations. But you neglected the elementary fact that The probabilities for each of these events is not equal.

      The probability that the prize is behind the door you picked is still 1/3, and the probability that the prize is not behind the door you picked (and is therefore necessarily behind the other closed door) is 2/3.

      If you still don't believe me, I suggest you go read the rest of this thread. There are several very good explanations. Or go find that java applet that performs the experiment for you, and shows that if you switch, you win 2/3 of the time.

      If all else fails, go back and take your elementary probability theory class again, and don't cheat off the guy sitting next to you this time!

      --
      The following sentence is true. The preceding sentence was false.
    52. Re:Another interesting math problem by jea6 · · Score: 1

      I explain it by saying that despite the fact you are not the first person in this thread to say that real-world tests have been performed, no reference to a well thought out trials scenario has been presented. So far, all these real-world tests are hearsay.

      And I can also explain it by saying that mathematical errors can lead to "prove" something that is incorrect.

      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
    53. Re:Another interesting math problem by madro · · Score: 1

      The AC is right. Choosing from three doors in the first situation and then choosing from two doors after Monty shows you the empty door are dependent events. If they were independent (the prize gets assigned to one of the doors after you chose), then your analysis would be correct.

      You talk about 1000 doors, but take it to the extreme. Pick a set of lottery numbers (1 in X million), then have someone listen to the drawing and then offer you two sets: your set and another set, one of which is the winning combination. Are you honestly saying that it's a 50/50 chance?

    54. Re:Another interesting math problem by Dashing+Leech · · Score: 1
      That sort of incorrect 'intuition' is why this problem is a common puzzle and fun in probability classes. When you write out the probabilities (properly), or when you do the simulations, it works out to 2/3 odds by switching. It's counter-intuitive, but true. I've come up with many explanations of why it should be 1/2, but only with careful analysis was I able to figure out the flaws in my reasoning. It really is 2/3 in favour of switching.

      Here's yet another explanation. Suppose you choose door #1 (you can do this for #2 and #3 yourself). There are four possible outcomes (format is case letter followed by choice-shown-actual):

      W 1-2-1
      X 1-2-3
      Y 1-3-1
      Z 1-3-2

      But notice W and Y have the actual prize behind #1. Since the odds of it being behind any door is 1/3, W+Y = 1/3. Since W & Y are just as likely, they're each 1/6. So, the odds are: W(1/6), X(1/3), Y(1/6), Z(1/3).

      If you think all four should have equal probability, think about this: He hasn't shown you a door yet. Two of the cases have it behind #1. Do you think by selecting #1 that you actually make it 1/2 chance that it really is behind #1 even before he shows you anything, and 1/4 chance of being behind #2 or #3?

      So now he shows you a door. If he shows you #2, it could be either W or X. Notice X has twice the probability of W. Likewise, if he shows you #3, it could be either Y or Z. Again, Z has twice that of Y. Both X and Z are cases you should switch your choice, and give you twice the probability of winning.

    55. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      Damn people, this question is like discussing whether or not 0.99999... = 1. You can find explanations in the sci.math faq, on wikipedia, on mathworld, etc. The correct answer is counterintuitive for most people, get over it.

    56. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      Ok, let's look at your 1000 door extrapolation.

      When you make your first random choice, what is the probability that you choose the winning door?

      Obviously, 1/1000. Or to state it another way, the probability that the prize is behind one of the doors you didn't choose is 999/1000. So basically you have two sets. A chosen door with a 1/1000 chance of winning and the unchosen doors with a 999/1000 chance of winning.

      Now, in the correctly worded problem, Monty *must* open 998 of the unchosen doors. The last unopened door still has 999/1000 chance of being the winning door. You are essentially choosing between one door (your first choice) and 999 doors (the unopened unchosen door and all the doors Monty opened). Monty has reveled a huge amount of information about where the prize is.

      Now, in this case, would you switch doors?

    57. Re:Another interesting math problem by Melchior_of_wg · · Score: 1

      If you have 100 doors, and one is correct, this would mean that the 'keep' door 99 times out of 100 is an incorrect one? While you have only two choises, the choises themselves aren't balanced.

    58. Re:Another interesting math problem by flooey · · Score: 1

      A note to all the people writing code to solve this, the key to this problem is that Monty intentionally chooses a door that has no prize behind it.

      Interestingly enough, if Monty suddenly forgets which door has the prize and just chooses a door at random, it still results in a 2/3 chance of winning (assuming him opening the door with the prize is a win by default).

    59. Re:Another interesting math problem by Melchior_of_wg · · Score: 1

      "Since we're listing all possible situations, each route has a probability of 1/9. Agreed?"

      No, no! Not at all. Some of those are actually impossible to actually occur. If you pick door 1, Monty can't show you door 1. Hence, it has a possibility of 0/9, or just 0.

      Each route does NOT have equal probability. Take a dice with 6 sides, and roll it. Lets say you look at two cases.

      You roll a 6.
      You roll anything else.

      Obviously, the second case is more likely to occur . Can you now agree that different cases can have different probabilities?

    60. Re:Another interesting math problem by Doctor+Hu · · Score: 1
      I miscounted.

      Thanks, penguiN42.

      Knight's tours... Sample space... Early morning...

      <Monty mode="python not hall">
      My brain hurts...
      </Monty>

    61. Re:Another interesting math problem by Anonymous Coward · · Score: 0
      Think of it this way: regardless of which door you choose, that door has a 1/3 probabilty of being the right door. Keep your eye on this fact, Monty will attempt to distract you from it.

      Monty does some other things, but he does them every time- they don't give you any additional information. Pay them no mind. Did you keep your eye on your initial choice? If you were not a sucker, you did, and noticed that as you didn't obtain any new information (Monty does the same schtick every time in this scenario), your initial choice still has a 1/3 probability of being correct.

      Therefore, at the end of Monty's hijinks, the probability that the door you initially chose is the correct door is still 1/3. (The probability of the other choice, which can accurately be described as "whichever of the other two doors has the prize, if any", has probability 2/3.)

      I have no idea what you mean by "Gambler's Fallacy" unless you mean "the understanding of simple probability ramifications of restricted choice", which is a bad name for that.

    62. Re:Another interesting math problem by bigjocker · · Score: 1

      what are you smoking, buddy?

      Not the same thing as you are, buddy.

      When you open one door and you are presented with the chance to switch your selection, you have a new independent problem. No matter how you try and reduce the arguments using strong language, the fact is that the phisical action of blasting one door to ashes

      1.- Has no effect whatsoever on the location of the prize. The prize will not switch places.
      2.- When you are presented the choice of changing your mind, you are presented with a new problem, regardless of the ammount of doors that have been opened (or blasted) you still have in front of you two doors, each of one having the same probability of keeping the prize.

      No matter what has been done, when you ask the player if she wants to change her selection, you are presenting a new problem, independent of previous incidents (blasting of doors). At that instant in time (you could argue that such things cant be measured) you have two doors with a 1/2 probability each.

      --
      Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.
    63. Re:Another interesting math problem by rvega · · Score: 1

      I'm convinced now. One mistake I was making was failing to realize that Monty's choice of doors is already restricted by my first choice. I think that if he could also choose my door, I'd have only a 50/50 chance. Of course, that's still better than the 1 in 3 chance I start with, so I should still take the odds.

      The way I thought of it was this: I have a 1 in 3 chance my first pick, then Monty shows me an empty door. If I stick with my first choice, nothing changes -- Monty's showing me one door is meaningless if I don't act on it, and it might as well not have happened. So my odds are still 1 in 3.

      The interesting question is: What are Monty's choices? Only in the 1 in 3 chance that I've already chosen the prize door is Monty able to choose between two empty doors to show me. In the other 2 of 3 scenarios, he has no choice but to indicate the prize door by showing me the only remaining empty door.

    64. Re:Another interesting math problem by rvega · · Score: 1

      This logic works for 3 doors, as well, but for some reason doesn't seem as intuitive.

      Maybe because 999,999 / 1,000,000 (.999999) is a lot closer to 1 than either 1 / 2 (.5) or 2 / 3 (.6666...)

      But, yes, the absurdity of the million-door scenario illustrates the solution, which I now see as the correct one.

    65. Re:Another interesting math problem by kudos200 · · Score: 1

      yeah, so, i'm wrong. my bad.

    66. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      Bull. The point is that because the host knows where the prize is, he is giving no information by showing you a door without a prize, because he can always do that, regardless of which door you initially chose. After he's shown you the a non-prize door the chances that the prize is behind the initially chosen door is still 1/3 - and if the game procedure is that the knowledgable host always shows you a non-prize door after you've made your choice, then your chance of winning with your initial choice was always 1/3 right from the beginning, unless of course you later choose to switch. If you calculate anything different, you're not taking into account what choices the host has: if you picked the prize door (1/3 probability) initially he has a choice of 2 non-prize doors; if you chose one of the non-prize doors (2/3 probability) he only has 1 choice available. Do the math, kids.

    67. Re:Another interesting math problem by evilquaker · · Score: 1
      Actually, not quite right, it's never 1/2. You have a 1/3 chance of picking the right door if you stay with your first choice, and a 2/3 chance if you switch.

      Actually, given a certain interpretation of the problem, the probability is 1/2... Let's consider the Canadian version of the TV show, where no one thinks to tell Monty which door the prize is behind, so sometimes (1/3 of the time, actually), he opens a door with the prize behind it, and you lose. Now, let's consider that when you were on the show, you got lucky, and the course of events was as follows: you chose, Monty opened a door and there was nothing behind it, and gave you the choice whether to switch or not. What's the probability that if you switch you'll win? It's exactly 1/2.

      To prove this, assume WLOG that you chose door #1. Now, before Monty opens a door, there are six possibilities (designated by the door Monty opened and the door the prize is behind):

      1. 2-1
      2. 2-2
      3. 2-3
      4. 3-1
      5. 3-2
      6. 3-3
      All are equally likely (again, because Monty doesn't know which door the prize is behind). So now he opens a door, and the prize isn't there. So this eliminates possibilities 2 and 6 from the above list, leaving only possibilities 1, 3, 4, and 5, all of which are still equally likely. Thus, you win half of the time and you lose half of the time.

      Note that if Monty does know which door the prize is behind, the six possibilities are not equally probable, and your chance of winning if you switch is 2/3.

      One of the devious things about the Monty Hall problem is that it depends upon an implicit assumption that Monty knows which door the prize is behind. If he doesn't -- but the prize doesn't turn out to be behind the door he opens -- the probabilities change! Looking at the problem from the outside, without knowledge of what Monty knows and when he knows it, you can't tell exactly what the real probabilities are.

      --
      To within half a percent, pi seconds is a nanocentury. -- Tom Duff
    68. Re:Another interesting math problem by cliffy2000 · · Score: 1

      Do you rely on works of fiction for all your mathematics? If so, we're all human batteries that defy the laws of thermodynamics..

    69. Re:Another interesting math problem by Anonymous Coward · · Score: 0

      Valid responce, but I've always found that proof a bit confusing until you follow it and plot things out. To get the general point across, here is the example I prefer to use:

      You're on a game show with 1 million doors. You pick door #1. The odds that you picked the right door are 1 in a million.
      The host opens doors 2 thru 1 million, skipping door 5674.
      Which door has the prize in it?
      Since you already knew that there were 999,999 doors without a prize in them, opening up the extra doors doesn't change the odds of your first selection, and since you had a 1 in a million chance of getting it right the first time, there is a million to 1 chance that switching doors will lead you to the prize.

      The teacher that tried to demonstrate this to my class got annoyed because he used manilla file folders with the words "win" or "lose" on them (placed so the words faced the blackboard). After the first time, the student he asked always chose the correct folder first, and didn't switch. It was only when he got annoyed and asked how we were doing it that we mentioned the "win" file folder had its tab in the middle, and the "lose" folders had their tabs at the sides.

    70. Re:Another interesting math problem by droleary · · Score: 1

      Not the same thing as you are, buddy.

      Well maybe you should, because you're coming off as a real idiot.

      1.- Has no effect whatsoever on the location of the prize. The prize will not switch places.

      The fact that you can state this and not make the connection to why you are wrong is strong evidence of your stupidity. Think about it. You had a 1 in 3 chance of picking the right location. You state the prize does not switch places. Clearly there is a 2 in 3 chance that it is somewhere other than your initial selection.

      No matter what has been done, when you ask the player if she wants to change her selection, you are presenting a new problem, independent of previous incidents (blasting of doors). At that instant in time (you could argue that such things cant be measured) you have two doors with a 1/2 probability each.

      Here's one last chance to see the error of your way; I'll restate the problem to the point where it should be absurdly obvious. I have a deck of cards and I'll give you a prize if you happen to select the ace of spaces (AS). What are the odds of you getting it on your random pull from the deck? Having made your selection, I show you one of the other 51 cards that is not the AS. Then I show you another. And another. And so on until I have two cards and show you the one that is also not the AS. I then give you the opportunity to switch from the card you had selected initially to the one remaining card I am holding. What will you do?

      If you say it doesn't matter, that it is a new problem, and that you still have a 50/50 chance of having the AS, I will not only keep you in my foes list for gross stupidity, I will also seek you out so that I might have a chance to gamble large sums of money with you.

    71. Re:Another interesting math problem by Placido · · Score: 1

      Yeah Anonymous Coward finally drummed it into my thick skull. Actually I cracked the logic by thinking of it in the following terms:

      "If the prize is behind the other two doors then Monty guarantees you win when you switch by opening the door without the prize. Thus you have 2/3 chance of winning if you switch."

      Then I eventually worked out where I went wrong with the previous examples.

      I was actually right in the claim that each route had a probability of 1/9 because I was looking at the probabilities as if Monty would open ANY door. THEN I removed the impossible situations but did not realise that it's the probability of S and T occuring must sum to 1/3 because that's the chance that the prize is behind door 1.

      Now I remember why I hated probabilities. ;-)

      --

      Pinky: "What are we going to do tomorrow night Brain?"
      Brain: "I would tell you Pinky but this 120 char limi
  8. Re:A note to the anti-MS zealots by Channard · · Score: 1, Insightful
    The webpage mentions that the program is windows based and doesn't save state. That means that all of those CPU hours came in a row (at idle priority even).

    A project like this just cries out for distributed computing - if it can be done for Seti and cracking the X-Box key (or rather trying to), surely a distributed client running on many PCs would be a godsend for solving major maths problems.

  9. That's nice, but not impressive by Kombat · · Score: 5, Interesting


    Whatever happened to the classic style of problem-solving, whereby an actual proof was deduced, rather than simply employing brute-force to "count them all?" I mean, don't get me wrong, I'm glad that we finally have an answer to this pressing question (which I'm sure 95% of us had never heard of prior to reading this article), but does anyone else feel that these "brute-force" solutions are kind of cheating?

    --
    Like woodworking? Build your own picture frames.
    1. Re:That's nice, but not impressive by forsetti · · Score: 4, Insightful

      Normally I agree with you -- however, if I have to chose between 150 years looking for a proof, or <150 days of brute force, I would have to admit that the brute force approach was better.....

      --
      10b||~10b -- aah, what a question!
    2. Re:That's nice, but not impressive by Jooly+Rodney · · Score: 4, Insightful

      I haven't studied this particular problem much, but some theorems aren't susceptible to an elegant hand-proof -- one famous proof of graph 3- or 4-colorability (can't remember which) required the use of a computer to address thousands of cases and subcases.

    3. Re:That's nice, but not impressive by Anonymous Coward · · Score: 2, Funny
      Proof:

      Given: an 8x8 chess board, a black knight piece, a Cray supercomputer

      1. Execute brutechess.exe
      2. Therefore, there are no magic knight's tours.

    4. Re:That's nice, but not impressive by Gherald · · Score: 1

      Of course its cheating, but it does get the job done.

      And you are correct about there being more pressing questions, such as prime numbers! :-)

    5. Re:That's nice, but not impressive by 91degrees · · Score: 4, Insightful

      I agree. They're highly unsatisfying. A proof would have told us how many routes there are for an arbitrary sized chessboard as well.

    6. Re:That's nice, but not impressive by Progman3K · · Score: 5, Insightful

      Sure, but isn't a brute-force proof along with a mathematical proof even better?

      I mean this way we have one of the two, all that remains now is to turn the algorithm used into a formula for mathematical verification and there you have it.

      In a way, the algorithm used is ALREADY a mathematical proof, inasfar as an algorithm can be proven correct using math...

      --
      I don't know the meaning of the word 'don't' - J
    7. Re:That's nice, but not impressive by zubernerd · · Score: 3, Interesting

      This is not the only problem to not have a "done by hand" proof, the four color map theorem proof (one version of it) was in part by done with a computer.
      http://www.math.gatech.edu/~thomas/FC/fourcolor.ht ml
      By the way, I couldn't help but to notice the quote at the bottom of the page (generated by slashdot)
      "Don't think; let the machine do it for you!" -- E. C. Berkeley

      --
      Accentuate the positive, don't waste your mod points on the negative.
    8. Re:That's nice, but not impressive by JanneM · · Score: 4, Interesting

      Nah. A result is a result no matter what methods were used to produce it. No cheating.

      That said, there are arguments in favour of a classical proof as well. First, of course, is the matter of elegance; an elegant symbolic proof is a lot more pleasing than a brute-force approach (though an inelegant symbolic proof is as bad - or worse - than a method like this).

      Second, a theoretical proof is sometimes more interesting for the secondary results it produces and the new avenues of progress in other areas, rather than in the proof itself. This is generally lacking for brute-force methods.

      But in reality, these methods complement each other quite nicely. Knowing what the result should be, making an elegant classical proof of it becomes so much easier than before. And of course, you tend to need to know quite a lot about a problem (culled from classical methods) before you can formulate a prq'acticable brute-force approach.

      --
      Trust the Computer. The Computer is your friend.
    9. Re:That's nice, but not impressive by Anonymous Coward · · Score: 0

      That's not impressive at all... did they even optimize the algorithm? In school we had to solve this problem and the goal was to be able to find a solution from any single square in under 1 second. Great, they took 60 days to find them all, I would have done it faster. Everyone noticed that there were patterns, doesn't take huge studies.

    10. Re:That's nice, but not impressive by iapetus · · Score: 4, Informative
      A proof would have told us how many routes there are for an arbitrary sized chessboard as well.

      Not necessarily. As the article points out, there is a proof for certain sizes of chessboard, but it doesn't extend down to 8x8. Not all mathematical proofs are quite as neat as we might like them to be in terms of how they apply to other variants on the same problem.

      --
      ++ Say to Elrond "Hello.".
      Elrond says "No.". Elrond gives you some lunch.
    11. Re:That's nice, but not impressive by Ridge · · Score: 4, Funny

      "Nah. A result is a result no matter what methods were used to produce it. No cheating."

      I spy an Nvidia engineer!

    12. Re:That's nice, but not impressive by Anonymous Coward · · Score: 0

      Kind of cheating?
      As opposed to the proof method where you'd test a few things then make assumptions for the majority of the values?

      The first method gives definite proof - it tests ALL values. The second just gives theoretical proof and allows the mathematician to go have a drink instead of crunching numbers till he goes blind.

    13. Re:That's nice, but not impressive by affenmann · · Score: 2, Interesting

      Well, it's not a proof but it still gives us some insight: Now we can be fairly sure that there is no magic tour, so we can stop trying to prove the existence of one. This can be quite helpful. After all, there are people who spent years trying to fond (non-existent) counter-examples to the 4-colour theorem.

    14. Re:That's nice, but not impressive by Christopher+H · · Score: 2, Insightful

      There are Godel/Turing-type results which imply that most mathematical truths are 'random' -- ie they don't have short/elegant/informative proofs.

      Build a combinatorial structure and ask some random question about it, and the odds are pretty decent you'll need to resort to brute force.

    15. Re:That's nice, but not impressive by Henry+V+.009 · · Score: 1

      What exactly is the difference between proof aided by computer and a proof by just a human? Does he get to use a calculator, or does he have to do everything long hand?

    16. Re:That's nice, but not impressive by Jeff+DeMaagd · · Score: 1

      I would say both would be nice. I believe a proof on paper still needs to be proved in practice.

    17. Re:That's nice, but not impressive by iworm · · Score: 2, Informative

      Four color theorem.

    18. Re:That's nice, but not impressive by iabervon · · Score: 1

      One criterion for a good solution to a problem is that the proof allow you to establish the result more quickly than you could establish the result without the proof; it is easier to verify the proof that it is to generate it.

      This work merely demonstrates the result; it does not do so in a way that's faster to verify than it was to generate. In general, the proofs of open questions tend to involve work which extends related theories; proving Fermat's Last Theorem, for example, involved developing and relating a number of fields of mathematics which are turning out to be interesting for cryptography, even though there aren't really any interesting consequences to FLT.

      On the other hand, this was only for a single size, which had just been bothering people. There's nothing really theoretically significant to it. For odd sizes and larger multiples of 4, it has already been solved; the other even sizes will require another proper proof.

    19. Re:That's nice, but not impressive by sootman · · Score: 1

      I like a nice elegant proof as much as the next geek, but brute-force answers are pretty much unarguable, where proofs require reasoning which may be flawed. Many "proofs" have stood for quite some time before someone else found an error in reasoning or logic.

      That said, any problem involving an infinite series of numbers pretty much require a logical proof, but a problem constrained to a chessboard is more analagous to "prove the quadratic theory is correct when a, b, and c are integers from 1 to 10."

      --
      Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    20. Re:That's nice, but not impressive by papik · · Score: 1
      The difference is not between computer aided and just human. It's between bruteforce and "not bruteforce". Bruteforce means trying all the possibility, while "not bruteforce" means finding some structure and/or similarities and use them to reduce the cases you need to really prove.
      Examples (not good but understandable):
      • Calculate a multpilication using only the addition (123*324=123+123+123+123+...+123) or knowing already that 3*4=12, 2*4=8, 1*4=4, 3*2=6, 2*2=4, 1*2=2, 3*3=9, 2*3=6 and 1*3=3.
      • Try to bruteforce the fact that every integer can be factored out in prime number.
    21. Re:That's nice, but not impressive by Zork+the+Almighty · · Score: 1

      A pen-and-paper proof typically yields insights about the nature of a problem, whereas a brute-force solution often tells you nothing beyond the answer. Mathematicians usually want to know why something is true or false, and not just if.

      --

      In Soviet America the banks rob you!
    22. Re:That's nice, but not impressive by Progman3K · · Score: 2, Interesting

      OK, I'm with you there, but here's what I'm wondering:

      In Computer Science courses (university level, maybe before), you learn to take (some) algorithms and express them as mathematical formulas.

      Sums using sigma notation and whatnot, if you are familiar.

      So doesn't that mean that if you have the algorithm to solve the problem, you have the PROOF?

      Admittedly, it might be very difficult to translate the algorithm into a standard mathematical formula, but it should be possible, right?

      I am arguing that an algorithm, even a brute-force one IS proof.

      --
      I don't know the meaning of the word 'don't' - J
    23. Re:That's nice, but not impressive by PD · · Score: 1

      Mod that guy up. Goedel's famous Incompleteness Theorem shows that there are things in math that are true, but there is no posible proof that those things are true. Therefore, the only way to show something is true would be an inelegant brute-force search.

    24. Re:That's nice, but not impressive by XO · · Score: 1

      Actually, as the article points out, there is a proof for ALL boards where boardsize > 2, EXCEPT for 8.

      It also points out that everybody who actually cared one bit about the problem had fairly well already decided that there was no solve for boardsize == 8. So, effectively, someone blew 50+ days of CPU time proving something that nobody really cared about, and determined an answer that everybody already knew.

      It's kind of like Microsoft Windows: The answer to a problem that no one really had.

      --
      "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    25. Re:That's nice, but not impressive by Henry+V+.009 · · Score: 1

      You still have to cover every possibility in every proof. Sometimes you will have one or two different cases to examine, sometimes a dozen, and sometimes a hundred. How many cases do you have to reduce it to until a proof is no longer "brute force"? Do you have a specific number in mind?

    26. Re:That's nice, but not impressive by iapetus · · Score: 1

      More accurately, according to the article there is a proof for all boards where boardsize = 4k and k > 2, and proof that there is no solution for any odd boardsize. :)

      --
      ++ Say to Elrond "Hello.".
      Elrond says "No.". Elrond gives you some lunch.
    27. Re:That's nice, but not impressive by papik · · Score: 1

      I don't have any specific number in mind. It's brute force when you test every possibility.
      Well, in practice I think I would say that it's still brute force if the ratio between tested possibilities and possibilties is high (don't ask me how high is high) and the reduction is obvious (simmetricity etc.).

    28. Re:That's nice, but not impressive by Tony-A · · Score: 1

      I suspect that in some cases, brute force is the shortest proof.

    29. Re:That's nice, but not impressive by wmspringer · · Score: 2, Informative

      That's the four-color theorem, where the only known proofs use a computer to find irreducable sets.

      Note that there isn't actually a proof that there is no proof, we just haven't found one. :-) There are several nice proofs that take care of the majority of cases, just none that cover every case.

    30. Re:That's nice, but not impressive by Henry+V+.009 · · Score: 1

      You always test every possibility in a proof. Your second statement, however, is a bit more reasonable and conveys what you are trying to get at. The flaw is that an obvious reduction will usually be used in a computer aided proof. And besides, a simple algorithm that proves a problem when run in a finite amount of time is as valid a method of proof as application of algebra or group theory. Just think of an algorithm as a very compact notation. So compact that all of the flipping of transistors is contained in that formalism. Of course, it means that the proof would require computational aid to read, but that hardly detracts from beauty.

    31. Re:That's nice, but not impressive by Henry+V+.009 · · Score: 1

      Nope, that would still count as a proof and be outlawed by Godel's Incompleteness Theorm.

    32. Re:That's nice, but not impressive by Anonymous Coward · · Score: 0

      Don't forget that many formal proofs are of the form "assume the opposite, then find a contradiction". The "brute force" techniques expand on this by exhaustively testing all possibilities of the "assumed opposite".

      Assume that there is a solution, you just don't know which arangment on the chess board it is. Try one possible combination - if it fails, try another. As this problem is defined (8x8 board), there is a finite number of combinations to test. If none of them work, then the assumption that there was a solution if false, so the converse it true...

    33. Re:That's nice, but not impressive by Kredal · · Score: 1

      I've spent hours on the four color theorem... does that count?

      --
      Whoever stated that signature sizes should be limited to one hundred and twenty characters can just go ahead and kiss my
    34. Re:That's nice, but not impressive by Prior+Restraint · · Score: 1

      So, does that mean that we can still dork around about 4k + 2 sized boards?

    35. Re:That's nice, but not impressive by PD · · Score: 1

      There may or may not be two different notions of proof here. Goedel's Incomp. Th. was only talking about mathematical proofs that are constructed within a system by relying on other things that are proven or known to be true.

      So, is brute force included in that?

    36. Re:That's nice, but not impressive by Henry+V+.009 · · Score: 1

      Oh yes, it's included. All "brute force" proofs (not a well defined term) are "constructed within a system by relying on other things that are proven or known to be true." For example, proving the statement n*2 is even for all integer n between 1 and 100 is just as much a mathematical proof if you check them all longhand using known statements about multiplication and division (ie. multiply them out and divide by 2), have a computer check them in the same manner, or use the statement that any multiple of 2 is even.

    37. Re:That's nice, but not impressive by FurryFeet · · Score: 1

      "Nah. A result is a result no matter what methods were used to produce it. No cheating."

      I spy an Nvidia engineer!


      Or a Microsoft executive?

    38. Re:That's nice, but not impressive by WNight · · Score: 1

      In a proof you explain why something can't happen because smaller problem X, which can be solved from axioms, is a critical part of it.

      You don't need to show every possible case of an even number plus an odd number to prove that they always add up to an odd number, you simply need to show how all even numbers are equivalent to 2, and all odd numbers are equivalent to 1, for purposed of even/odd determination. How you can keep subtracting 2 from any positive integer until arriving at 1 or 2, and that doing so lets you determine if it's even or odd.

      That's a proof right there. You've shown that a complex problem is really just a simple problem with some cruft on it. You can take a problem with infinite cases and reduce it to three, or even further, to an axiom based on the definitions of the problem, or you can simply reduce the cases by a factor of two. (Showing that x and x+1 are both the same, in the context of some equation.)

      The idea is that proofs reduce the complexity of a problem. You can, through experience know that even and odd numbers always make an odd number, but if you don't have a way of showing that they always must, you're left wondering if a slightly larger number might be different. This is how a computer proof is. It gives a definitive answer about a range of inputs, but doesn't allow you to extrapolate over an area. You can know the answers to x=(1..100) but that doesn't say anything about x=101.

      Your question leads into the 'elegance' of a proof. This is subjective, so it's more open to debate. This is where a valid proof that simply proves 1000 axioms independently is less elegant than one that proves all 1000 are really three different cases and proves only those three. But each proof is still valid.

    39. Re:That's nice, but not impressive by Henry+V+.009 · · Score: 1

      Your idea about computer proofs is mistaken. First, your point about even and odd numbers can not be solved by a computer, and would not be a good example of using a computer to aid you in a proof. You then speak about "a range of inputs." To extend your example, imagine the case (as often occurs) that you have a proof that covers all x from 101 to infinity. At that point using a computer to cover x from 1 to 100 is quite a good way to solve the problem, and it is even possible that no simpler proof exists. There is no guarantee that a simple proof will always exist to make a computer unnecessary -- in fact I suspect the opposite.

    40. Re:That's nice, but not impressive by timeOday · · Score: 1

      Fine, but restricting yourself to problems with elegant solutions workable by hand restricts you to problems which are essentially simple. Let's not pretend that there "must" be a way to boil every problem down.

    41. Re:That's nice, but not impressive by iapetus · · Score: 1

      Well, 6x6 has got to be too easy to even bother brute forcing. 10x10, on the other hand...

      --
      ++ Say to Elrond "Hello.".
      Elrond says "No.". Elrond gives you some lunch.
    42. Re:That's nice, but not impressive by Zork+the+Almighty · · Score: 1

      Writing an algorithm is certainly an appropriate way to prove the existence or non-existence of something, and an elegant algorithm is often equivalent to having a well developed theory. In this case however, the result was proved using a brute force search, which sadly tells us nothing more than "no".

      --

      In Soviet America the banks rob you!
    43. Re:That's nice, but not impressive by Zork+the+Almighty · · Score: 1

      You will almost never find a solution unless you suspect that it exists. Furthermore, the math which you call "simple" didn't spring from somebody's head that way. It seems simple because it has been revised and developed by numerous authors over long periods of time.

      --

      In Soviet America the banks rob you!
    44. Re:That's nice, but not impressive by papik · · Score: 1
      > You always test every possibility in a proof.
      Ok. Maybe my wording wasn't right (english isn't my first language). Sure a proof covers all the possibilities, but in many cases only few are really checked. A good example of that is induction (check with n=1, then n->n+1).

      >Just think of an algorithm as a very compact notation.
      The difference that I see between algorithms and proofs, although many algorithm are beautiful and elegant, is that most algorithms have to be run or there must be a proof that the correct result is given.

      In my opinion what's not beautiful is that maybe there is a simpler and faster (and maybe more general) way than bruteforce and you are overlooking it only because you have the computational power.

    45. Re:That's nice, but not impressive by Anonymous Coward · · Score: 0

      Well if cheating is the term for that, perhaps I rather cheat than lose a single game from a weak and incompetenmt GMs! I'm not to coward to do the knight tour although, I'm too lazy to move the piece! Furthermore, I'm too coward to create an account but here is my e-mail: gen_lance3@yahoo.com.

  10. Magic Tours? by Marwood · · Score: 1, Informative

    I hear Hogwarts will be selling these once the last book is finished and they run out of money.

    1. Re:Magic Tours? by Channard · · Score: 0

      Just around the time that 'Harry Potter and the Would You Like Fries With That?' is published, presumably.

    2. Re:Magic Tours? by Anonymous Coward · · Score: 0

      Informative? Funny. kthx

  11. Source Code snippets by JamesP · · Score: 2, Interesting

    Check this out...

    #define true 7361
    #define false 28456

    --
    how long until /. fixes commenting on Chrome?
  12. Re:A note to the anti-MS zealots by Black+Parrot · · Score: 2, Funny


    > The webpage mentions that the program is windows based and doesn't save state. That means that all of those CPU hours came in a row (at idle priority even). Bash MS all you want, but Windows isn't as unstable and problematic as all of your anti-MS zealots would like to believe.

    61.40 CPU-days spread between 10 people's computers, and you think that indicates enough uptime to brag about? Puh-leeze.

    --
    Sheesh, evil *and* a jerk. -- Jade
  13. Article on Chessbase by GeckoFood · · Score: 4, Informative

    There is an interesting [related] article on chessbase here about knight's tours. On the main chessbase page, they reference the main article involving magic tours.

    --
    Be excellent to each other. And... PARTY ON, DUDES!
  14. Re:A note to the anti-MS zealots by Anonymous Coward · · Score: 0

    Exactly. Bash MS all you want, but just remember that the next big worm to go around could use all those CPU hours in a row (at idle priority even).

  15. Re:A note to the anti-MS zealots by kin_korn_karn · · Score: 3, Funny

    uptime is nothing to brag about, unless you're talking about your penis.

  16. Artistic Differences? by ArmenTanzarian · · Score: 1, Funny

    Magic knight's not touring? What am I gonna do with these damn tickets...

    1. Re:Artistic Differences? by Anonymous Coward · · Score: 0

      Highly offtopic, but "Magic Knight" was the name of the hero in an old series of ZX Spectrum (and Amstrad CPC, and possibly others) arcade adventure games.

      Anyone else remember the arcade adventure?

      I miss Wally Week....

  17. Re:A note to the anti-MS zealots by Shadow2097 · · Score: 1
    >>That means that all of those CPU hours came in a row (at idle priority even).

    I'm just a lowly database programmer, so I have no clue about high end programs like this. Is it a common practice for time intensive processes to not have any sort of save file?

    Shadow

  18. Oops. my mistake.. Too hungry by AtariAmarok · · Score: 1

    I thought this was something about Cheesebase when I first saw it.

    --
    Don't blame Durga. I voted for Centauri.
  19. Re:A note to the anti-MS zealots by 91degrees · · Score: 1, Flamebait

    It's hardly impressive. No modern operating system randomly crashes for no reason at all (Windows 95 and the others that did crash after the counter wrapped were not modern operating systems). Windows isn't doing anything here, apart from memory allocation and a few highly predictable tasks.

    It's bad handling of errors in third party apps and drivers that usually kills Windows.

  20. 8x8 a special case. by Goonie · · Score: 3, Informative
    According to the article on Mathworld there is a general proof for boards bigger than 8x8, but 8x8 turned out to be a special case.

    Brute forcing to get a proof is better than no proof at all, but brute forcing a special case is even more acceptable.

    --

    Any sufficiently advanced technology is indistinguishable from a rigged demo
    --Andy Finkel (J. Klass?)
  21. Re:A note to the anti-MS zealots by jallen02 · · Score: 1

    That might be true, but it is still no excuse.

    The operating system should be fault tolerant and not fail when a foreign(read: third party) application does some unexpected behavior.

    Jeremy

  22. Clip clop by Channard · · Score: 5, Funny
    I bet the horse was tired after hopping around so much.

    Nope, but they got through about six coconuts.

  23. on FARK.com this would have the following header by Ubergrendle · · Score: 3, Insightful

    "Still no cure for cancer."

    Without trying to be too much of a Troll, can someone explain to me as a mathematical lay man as to why this problem has any significance? Given that a chess board is an arbitrary 8x8 set of constraints, is there anything that can be learned and applied to the real world (or even theoretical mathematics?) through solving this problem?

    Also, I was under the impression that the objective of mathematical puzzles like this would be to find a simple, elegant proof. Does a brute-force calculation approach carry as much weight?

    --
    John Maynard Keynes: "When the facts change, I change my mind. What do you do?"
  24. A pedantic geek says . . . by droleary · · Score: 4, Funny

    The solution came after 61.40 CPU-days, corresponding to 138.25 days of computation at 1 GHz

    Yeah, and I came to work in 12.34 horsepower-hours, corresponding to 666.13 hours of driving at 5K RPM. I mean, damn, I understand when my mom utters movie-level technobabble, but this?

    1. Re:A pedantic geek says . . . by Anonymous Coward · · Score: 0

      Actually, the poster had it backwards:

      ----

      as of August,05.,2003 136 ranges have been checked
      5305279.08 seconds = 61.40 days of computation time were needed
      CPUs went through 11_945038 Gigacycles = 138.25 days with 1GHz
      52_280100_180652 knightmoves were done , that's 228.5 CPU-cycles per move

      ----

      So it was actually 61 days wall-time, 138 days CPU time.

    2. Re:A pedantic geek says . . . by droleary · · Score: 1

      I don't see what's so hard about that figure for you to grasp.

      Of course you don't; you're an AC. The point being made is that the figures have no real importance. Computing for 1 day at 1GHz is meaningless. It says nothing about what is actually happening in the code. I could spin on a NOP for 23.99999999 hours and kick out an actual work unit at the end and use the same figure as someone who was actually doing something in that time. It also doesn't give any indication on what processor is being run at that clock rate, so it is a laughable measure of computation power.

  25. Re:A note to the anti-MS zealots by Bohnanza · · Score: 1

    They never said how many time they ran the program. It could have crashed twenty times previously for all we know.

    --

    -----

    Sorry, I'm only a 1336 h4x0r.

  26. Think of words ending in 'gry.' by dpbsmith · · Score: 3, Funny

    I just wrote a quick demonstration program to find them...

    1. Re:Think of words ending in 'gry.' by uhhhhhhh · · Score: 1

      The words you are looking for are:

      Hungry
      Angry
      Gry

    2. Re:Think of words ending in 'gry.' by Nucleon500 · · Score: 1
      C'mon, this is Slashdot, surely you can grep /usr/share/dict/words.

      aggry
      ahungry
      angry
      anhungry
      hungry
      unangry
  27. 1GHz WHAT? by JessLeah · · Score: 3, Insightful

    The story uses CPU-hours "at 1GHz" as a unit of measurement.

    Guys, please, this is SlashDot. A 1GHz G5 is not the same as a 1GHz Duron is not the same as a 1GHz P3. What sort of 1GHz chip is being referred to here?

    1. Re:1GHz WHAT? by edwinolson · · Score: 5, Funny

      Oh please. Next you'll want to know the exact DRAM configuration. Was it DDR? How big was the L2? Was the data set swapped out to a 7200rpm hard disk or a 10k rpm disk?

      Good grief. It's just an estimate. It's not the exact compute time that's interesting. It still tells me the interesting bits-- that it was a complexity that an ordinary PC could do in a reasonable time frame, not the sort of thing a gigantic cluster chewed on for 100 years.

    2. Re:1GHz WHAT? by JimDabell · · Score: 2, Funny

      The ones they use at the Library of Congress of course!

    3. Re:1GHz WHAT? by jea6 · · Score: 1

      61.40 CPU-days = 138.25 1GHz CPU-days, hence they must have been using 2.2 GHz CPUs.

      OR

      1 billion cycles per second for 138.25 days = 86,400,000,000,000 cycles (8.64 x 10^11 cycles, right?)

      Which on my computer would take, hmm... 3 1/2 years if I turn kpp off.

      --

      sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
    4. Re:1GHz WHAT? by gl4ss · · Score: 1

      "138.25 days of computation"

      nice estimate.

      cheers.

      -

      --
      world was created 5 seconds before this post as it is.
    5. Re:1GHz WHAT? by H8X55 · · Score: 1

      could 1GHz be a unit of measure instead of the processor itself, as it appears this problem was solved on a distributed system? 1GHz simply means 1,000,000,000 instructions per second

    6. Re:1GHz WHAT? by JessLeah · · Score: 1

      Wrong, goofball. 1GHz means 1,000,000,000 CLOCK CYCLES per second. There IS a difference.

  28. Re:on FARK.com this would have the following heade by Skater · · Score: 4, Insightful

    You're right, the evidence has no mathematical beauty. Still, it's good to know what you're trying to do when you start writing a proof.

    Here's what I have to say about mathematicians (since I have a bachelors in mathematics): Most people would invent paint to cover a wall they have that's bare. Mathematicians would invent paint with no intended purpose, then later discover it could be used on a wall.

    Mathematicians frequently create for the sake of creation, rather than for any specific purpose.

    --RJ

  29. on the value of horse problems by falsemover · · Score: 3, Insightful
    a wise man once said :- "behind a lot of great solved problems is a totally useless result; the value therein lies not in its outcome but in the solution methodology and how it applies to the attainment of other results, some of which will be a trifle more interesting"

    who also said

    "never buy of the horse that is overridden as it will fetch less at the clackers"

    --
    consider coffee a lubricant that helps one penetrate the coding zone
    1. Re:on the value of horse problems by Inda · · Score: 1

      That wise man knew nothing about horses and neither does Google.

      I like the horses; have done for some time but have never heard of a horse being sold at the clackers. The Knacker's yard maybe...

      Where or what is the clackers?

      --
      This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
    2. Re:on the value of horse problems by Chalst · · Score: 1

      Nice quote (the first, that is), who was the wise man?

  30. Is math dying? by 3Suns · · Score: 3, Interesting

    It seems to me that more and more math problems are being approached in a brute-force, computerized way. While this is certainly a legitimate way of finding answers to a problem, aren't we missing the point of these problems by using it? It's not like anyone was really waiting on the answer to that problem. It's such a lazy disappointing answer to an exciting mathematical question: "Are there any magic knight tours on an 8x8 chessboard?" "Nah, I tried 'em all out, see." Are we seeing the death of "clever" mathematics where a simple elegant solution is found, correlating known theorems in novel ways that enhance our collective understanding of the way math works?

    Now before you object, I am aware of really nifty, clever mathematical breakthroughs in recent memory. The recent polynomial-time primity test comes to mind. But what is the point of "research" and "inquiry" if we only care about the answers to the problem, and not the reason why? What is the point of finding the next Optimal Golomb Ruler" if we can't find a pattern relating one to the next? What would we really do with a magic knight's tour anyway, besides reading a clever and insightful proof of it's (non)existance?

    Even a computerized proof would be interesting, if a method for proof-solving on computers were possible. And yes, it is possible to write proof-solving software that is at least as good as a human mathematician without upsetting Mr. Godel. But this brute-force type proofing is just plain dull!

    --

    -3Suns

    ~~~~
    The Revolution will be Slashdotted
    1. Re:Is math dying? by Fungii · · Score: 3, Insightful

      To be honest, I'm pretty surprised to see all the "Is Math dying?" or "This isn't real maths" type comments here on slahdot.

      I would have thought that the slashdot crowd would be the first group to realise that computers are an excellent aid to mathematics. Not every maths problem can be solved by hand, and there is often quite a bit of inginuity involved in these computer soloutions.

      I see comments like this as people being afraid of technology - The computer can potentiall be one of the mathematicican's most useful tools in the future, if they let it. The thing to bear in mind is that it is just that a tool.

    2. Re:Is math dying? by 3Suns · · Score: 2, Interesting
      Did you even read what I wrote? Let me reiterate:

      Even a computerized proof would be interesting, if a method for proof-solving on computers were possible. And yes, it is possible to write proof-solving software that is at least as good as a human mathematician without upsetting Mr. Godel. But this brute-force type proofing is just plain dull!


      My problem is certainly not with computers, which I agree are a huge aid to mathematics. Suites like Mathematica etc. are tremendous tools, visualization methods, and timesavers. The brute-force proofs, whether you do them by hand or computer, are like saying you know how to drive because you can call a taxi.
      --

      -3Suns

      ~~~~
      The Revolution will be Slashdotted
    3. Re:Is math dying? by entartete · · Score: 2, Interesting

      it does provide data for people to look at and possibly derive some insight out of, probably not about anything relating to knight's tours or whatever. just like how many insights into the way things work come from observing nature i think that it's possible to find a few nuggets of gold hidden in amongst all the reams of data. wolfram's early cellular automata work was based pretty much off of brute forcing simple systems and then taking things from there. but in general i agree with you, the solution of problems by brute computational force alone isn't of any more mathematical interest than counting beans, but i think that it can provide an overall view of a problem that can lead to a deeper insight that can be applied to something larger than whatever pattern you've got the computers crunching at the moment.

    4. Re:Is math dying? by Nucleon500 · · Score: 1
      The brute-force proofs, whether you do them by hand or computer, are like saying you know how to drive because you can call a taxi.

      I'd say it's more like driving to the airport and taking a private jet. Sure, it doesn't involve much of driving skill, but you can get to places that are impractical or impossible to drive to. And even if you don't know how to drive, you (hopefully) know how to fly.

    5. Re:Is math dying? by archeopterix · · Score: 1
      Fear not. Many if not most interesting mathematical problems are of the form "Is there an x in an (infinite) set S having a property P?".

      Of course if such an x doesn't exist, you cannot solve this by applying brute force directly. You have to put some minimum of creative thinking into transforming such a problem into a finite case (as it was done in case of the 4-coloring problem).

    6. Re:Is math dying? by XO · · Score: 1

      And, what's the point of finding -any- Golomb Ruler? All the explanation I've seen basically says "this is for fun, there's no real use" .. well, my CPU time is better used HLTing rather than playing with distributed.net on that problem...

      --
      "Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
    7. Re:Is math dying? by Anonymous Coward · · Score: 0

      It isn't dying, in fact, it's a lot stronger than previously.

      When you use computers to solve a problem, you have more time to think of new ones. Let the "easy" ones be filtered out by brute-force and concentrate on better ones.

    8. Re:Is math dying? by Anonymous Coward · · Score: 0

      Not the point!!! BRUTE FORCING THE PROBLEM IS NOT INTERESTING! If there isn't an elegant solution what is the point?

    9. Re:Is math dying? by Tony-A · · Score: 1

      The brute-force proofs, whether you do them by hand or computer, are like saying you know how to drive because you can call a taxi.
      Nope, the brute-force proofs are more like driving is better when possible because you have walked it when you couldn't drive it.
      The amount of mathematics that can be done by brute-force is extremely limited.

  31. Cheers by Anonymous Coward · · Score: 2, Funny

    Put my mind at rest.. I've been worrying about this for years.

  32. Ahh the memories... by heneon · · Score: 2, Interesting
    I remember when in school and army I used to kill time doing this. I had a notebook with pages upon pages filled with 6x6, 8x8 and 10x10 matrices and numbers all over them. The smaller ones were easier because you could calculate more moves in advance. I have never realised that this could be an "official sport" with a chessboard.

    Many years ago I saw some guy doing a kinght's tour blindfolded on tv. I thought that was amazing, he must have calculated every move after he was given the starting square. But now it seems so simple, you just need to know a magic knight's tour by heart and that's it! (Ok, memorizing that is still pretty amazing by my standards :)

    1. Re:Ahh the memories... by Anonymous Coward · · Score: 0

      That's how it's done with mnemonic technique(page in russian): http://www.superidea.ru/intel/mem/taina.htm

  33. Found in new age bin: Magic Knight by AtariAmarok · · Score: 1

    Haha. "Magic Knight" does indeed sound like the name of some awful medieval-tinged New Age band from 1988. Or perhaps "Band" is used loosely, and it is really one guy with a synth.

    Found in some remainder bin somewhere: their debut album: "Enchanted Castle", and maybe even a copy of "Mystic Joust".

    --
    Don't blame Durga. I voted for Centauri.
    1. Re:Found in new age bin: Magic Knight by Anonymous Coward · · Score: 0

      you must be thinking of Rick Wakeman and Yes. from the 70s, man.

    2. Re:Found in new age bin: Magic Knight by Kredal · · Score: 1

      I was thinking Mystical Knights of Oingo Boingo.

      But maybe that's just me.

      --
      Whoever stated that signature sizes should be limited to one hundred and twenty characters can just go ahead and kiss my
  34. Like the paradox of check out queues by wadiwood · · Score: 1

    to switch or not to switch.

    You pick queue 1. Queue 2 closes. Switching to Queue 3 is not going to help you. Unless the checkout operator in Queue 1 is an L-Plate operator.

    So lemme see (I was always crap at probablility).
    First you have a choice of three doors. So your chance of winning is 1/3 on door number 1.

    Door number two is eliminated, leaving door number three with 2/3 probability against it.

    But imagine, now you are only offered two doors to start with. Fifty fifty chance of winning. 1/2 chance. but you have to combine that with the original probability?

    Ie the 1/3 and 2/3 probability no longer applies? Or does it. Ie you knew in advance that one empty door would be eliminated and you'd get an option of switching. So you could group your choices into 1/2 (for the door you picked) and 1/2 for the doors combined from which one will be eliminated? That's like saying 2/3 = 1/2. Which bugs my head no end.

    Leastways, if the host always opens an empty door, it changes the 1/3 per door probability, to 1/2s. If the host can actually open the door with the prize (and you miss out), but he opens an empty door, then definitely the switch is on.

    ? Does it work on that who wants to be a millionaire thing, where you select an answer, get two eliminated (one of which could be what you hypothetically selected), is it better, supposing your original choice didn't get eliminated, to switch? (Assuming four options, two options eliminated and you have no clue which option is correct).

    --

    -- it must be true, it's on the internet.
    1. Re:Like the paradox of check out queues by Anonymous Coward · · Score: 0

      yes. if you have *no idea* which one of the four answers is right, pick one. obviously, the chance that this one is right is 1/4, so the chance that one of the other three is right is 3/4. if the host eliminates two of the other ones (and can't eliminate the one you've picked), the chance is still 3/4 for the remaining option, so switch.

      oh, wait, if he can eliminate the one you've picked: no. then it's fifty-fifty. don't switch, pick the one that seems most likely to you.

  35. moron. there's a bug in your app. (nt) by Anonymous Coward · · Score: 0

    moron. there's a bug in your app.

    1. Re:moron. there's a bug in your app. (nt) by Anonymous Coward · · Score: 0
      Moron. There's a bug in your brain.

      If the app returns 1/3 it appears to be working properly.

  36. Re:on FARK.com this would have the following heade by entartete · · Score: 1

    yeah, a lot of the things that turn out to be of amazing practical use to non mathematicians happened to come out of the peculiar obsessions of various mathematicians, mersenne primes are mighty handy things to know about but were once just one of the many mathematical curiosities that mathematicians poked around at when they had too much time on their hands (and they also seem to defy pretty proofs and rely on brute force number crunching to discover or not discover if there is actually a limit to them, which is why finite though large problems like the magic tours are good candidates for brute forceing, since you can just get it solved and over with)and most of the discoveries that we owe to pythagorus come more from his weird mystical thinking about the nature of number than from any desire on his part to develop patentable techniques for industry.

    multiple modes of inquiry are a good thing, if we judged everything from standards of immediate practical application we'd miss out on a lot of the good and practical things that number crunching for the sake of number crunching and pondering for the sake of pondering have given us.

  37. Re:A note to the anti-MS zealots by Anonymous Coward · · Score: 0

    My workhorse XP box was up for 1.5 years until that damn power outage killed my UPS.

  38. Re:on FARK.com this would have the following heade by mezelf · · Score: 2, Interesting

    I am trying not to be too negative here, but why should everything have to have a significance to the real world? The world doesn't benefit from me solving a crossword puzzle. It's just me, wanting to know the solution to the puzzle.

    In the same way, people have been puzzled by the magical knight's tour problem for 150 years. And someone finally has solved the problem. It might not provide a cure for cancer, but at least it entertained a few people for some time.

    Maybe something as insignificant as that should not be published, but on the other hand, I found it interesting to know that that problem got solved, so I don't complain that it has been published.

    Also, I was under the impression that the objective of mathematical puzzles like this would be to find a simple, elegant proof. Does a brute-force calculation approach carry as much weight?

    Perhaps not. But nobody sais that you can't go looking for an elegant proof just because the problem has been solved. There is also some merit in finding he easiest or most elegant solution, not just in finding the first one.

  39. For those of you who can't be arsed with the links by jonathan_ingram · · Score: 4, Informative

    A knights tour involves moving the knight onto every square of the chessboard without repeating a square (being a knight, it is of course allowed to jump over squares it has previously landed on).

    A magic square is a square grid, with each grid position numbered, such that the horizontals, verticals, and diagonals all add to the same number (you can also ask for all the broken diagonals to add to this number, but this doesn't have to hold in a basic magic square).

    If we number the knight's initial position 1, and increment with every jump, then a knights tour gives us a numbered n by n square (8 by 8 in the case of a normal chessboard).

    The question: are there any knights tours which give us a magic square after we perform this numbering operation?

    The answer: no, although there are many tours which give us a 'semi-magic' square (where the horizonals and verticals, but not the diagonals, give us the same sum).

    The point: although magic squares have a variety of surprising uses, there seems to be no 'point' to the magic knights tour question other than another line in the book of 'solved minor problems' -- but if it's enough to write a paper on, then you can bet you'll be able to find a graduate student to do it :).

  40. A chess article without Go mentioned? by Thinkit3 · · Score: 3, Funny

    Is this a /. first? Well I won't let it happen. Hey, screw the magical knight tour, how about solving 9x9 Go?

    --
    -Libertarian secular transhumanist
  41. Sure he can... by cactopus · · Score: 4, Funny

    Sir Paul McCartney did make a Magical Mystery Tour

  42. See it from Monty's position by Anonymous Coward · · Score: 0
    Try and see it back to front: Try to push the maths out of your mind for a millisecond: in intuitive terms, the secret to this is that Monty is not picking doors randomly; he won't open a door onto the prize. So, two thirds of the time Monty has absolutely no choice, hes got one door with a prize behind it (which he cant open) so he has to open the remaining "no prize" door. So by the same token, two thirds of the time, its the remaining, as yet unpicked, closed door that has the prize behind it.

    Only a third of the time then will Monty have the choice between two "no prize" doors, and thus only a third of the time would you win if you stuck with your initial choice. Its Monty's constrained behaviour that helps you out here; don't fall into the trap of thinking he is acting at random.

  43. Mod parent up please! by LittleBigLui · · Score: 1

    This is the single most understandable explanation of that whole door-switching-pseudo-paradoxon that i've ever read. Dear Mr. Coward, you are my hero.

    --
    Free as in mason.
  44. Re:A note to the anti-MS zealots by Simon+Brooke · · Score: 1
    uptime is nothing to brag about, unless you're talking about your penis.

    61.5 days uptime isn't something to brag about, it's a medical condition.

    --
    I'm old enough to remember when discussions on Slashdot were well informed.
  45. Re:A note to the anti-MS zealots by Anonymous Coward · · Score: 0

    I guess you didn't put many patches on it then.

  46. Re:A note to the anti-MS zealots by 91degrees · · Score: 1

    That's what I mean. It wasn't defending MS, but criticising it.

    Crashing when an app crashes means an OS is faulty. My point is that an OS staying up when it's running a single application which doesn't crash is not evidence that the OS is stable. The post I responded to suggested it was.

  47. Grammar again... by AyeRoxor! · · Score: 1

    "the over one hundred fifty year old math problem"

    How does this sound or look even remotely correct enough to submit to your peers? Atleast look like you're trying, people...

    1. Re:Grammar again... by mindstrm · · Score: 1

      Seems to make sense to me. What part disagrees with you?

    2. Re:Grammar again... by AyeRoxor! · · Score: 1

      "one hundred fifty year old math problem"

      Thirty-two.

      Forty-five.

      One-hundred-fifty. One-hundred-fifty-year-old.

      It's all about the hyphens.

    3. Re:Grammar again... by Anonymous Coward · · Score: 0
      Thank God you put the hyphens in. I had absolutely no idea that the previous poster was writing about.


      Hyphen-Zealot!

    4. Re:Grammar again... by Anonymous Coward · · Score: 0

      "at least" is two words, dumb ass

    5. Re:Grammar again... by AyeRoxor! · · Score: 1

      "Atleast" is a colloquialism; hyphens are not.

      BTW, isn't dumbass normally one word?

    6. Re:Grammar again... by Anonymous Coward · · Score: 0

      I don't care how you try to use it, "atleast" is not a word. This is taught in grade school. Normally I wouldn't give a crap, but you were flaming for grammar.

      And "dumbass" is also not a word. Look it up.

    7. Re:Grammar again... by AyeRoxor! · · Score: 1

      'And "dumbass" is also not a word. Look it up.'

      You don't know what 'colloquial' means, do you?

      Wasn't *that* taught in grade school?

  48. Re: A note to the anti-MS zealots by zdislaw · · Score: 1

    And if anybody had tried to open so much as a single additional application on their desktop while it was calculating?

    --
    bad sig...no donut.
  49. Mod up so this is visibly to the public please by uhhhhhhh · · Score: 1

    If this isn't right I'd love to see how. As it demonstrates what I have always thought.

  50. Brute force--Bring it on! by Unknown+Kadath · · Score: 5, Interesting

    I've been seeing a lot of comments disappointed with brute-force problem-solving--but I am all for it. Here's why:

    In my job, I do fine structural analysis and computational fluid dynamics for aerospace design. Aerospace engineering is rapidly reaching the point where simplified, elegant models are inadequate to the real-world structures they are meant to mimic. For instance, the Navier-Stokes equations, a set of second-order partial differential equations which describe fluid flow, are not susceptible to analytical solution in any but the most simplified cases, and as things like airfoils, turbine blades, and computers grow more refined, their properties require much hairier math to describe. Turbulent flow around a wing or turbine blade has no elegant solution, but a brute-force computational model can yield a solution that allows us to design a lighter wing, and thus a more fuel-efficient plane, or a stronger turbine fan, and a more efficient generator. Or, to cite an example near and dear to many slashdotter hearts, as we can better model the heat transfer inside a microprocessor, we can better devise ways to cool it, and thus build a faster, more stable computer. (And then, we can solve more iterations on it, and build an even faster computer...and then we can solve more iterations... ^_~)

    There is an intense intellectual satisfaction to a 20 or 100 line proof (I still remember the triumph of my high school proof that a triangle's interior angles sum to 180), but for a lot of things, there simply exist no such proofs. As we tackle more and more mathematical problems, those with relatively simple proofs will quickly be solved and set aside, and we will move on to messier things. For instance, the proof of Fermat's Theorem runs to several hundred pages of dense elliptic curve math. It was an aesthetic disappointment for those hoping for a simpler solution, but it was a triumph for the field of mathematics as a whole.

    There is a whole 'nother world of proofs involved in brute-force solutions. Estimated time to solution, order of error--elegant mathematical tools are still necessary, but they are increasingly used to delineate regions of uncertainty as the complete picture becomes messier. The closer mathematical models get to the real world, the more complex and beautiful, but the less elegant, they become. I do not think that the field of mathematics will stop producing elegant proofs, but I do think they will have less and less to do with the world we live in and more and more to do with hypothetical mathematical constructs, whose usefulness will then filter down in the form of special cases to more prosaic disciplines, like science and engineering. This diminishes neither science nor engineering, and adds to the knowledge available in all fields.

    -Carolyn

    --
    Like Daddy always said: if you can't dazzle 'em with brilliance, baffle 'em with bullshit.
    1. Re:Brute force--Bring it on! by Eric+Ass+Raymond · · Score: 1

      Is mathematics running into the same barrier as physics? It's just getting too complex and what do you do? If you can't given an exact answer, estimate the result and give upper bounds for the error.

    2. Re:Brute force--Bring it on! by Unknown+Kadath · · Score: 1

      Is mathematics running into the same barrier as physics? It's just getting too complex and what do you do?

      I don't think math can ever be "too complex." Certain problems can be beyond our ability to solve, but that is the fault of our models and tools. We're just now starting to work on the problems that, 40, 50 years ago, people set aside as insoluble because they lacked the computational power to plow through them. The problem with complexity exists only in the real world; pure mathematics can be as infinitely complex as the human mind can devise. It's just that, eventually, these elegant structures cease to have any purpose outside of mathematical aesthetics. I like pure math, but there's not a lot you can do with some of the really out-there stuff except set it aside and wait until we trip over a physical problem that it just happens to fit.

      Math as used in engineering and science is just a way to describe the world. Take Newtonian and relativistic gravitation. The Newtonian model is simple and adequately describes gravitation in day to day life. It's what we could call a coarse model--rough and makes some wrong assumptions, but it gets the job done. The relativistic model is much truer to how gravity actually works, a more refined model than the Newtonian, but it contains math that only a specialist can really understand, and isn't necessary for a great many cases where we need to model gravitation. Coarse models usually have much more elegant math than refined ones, but they don't always provide the detail necessary. It's the refined models that are hitting the complexity barrier--our need to describe the physical world in greater and greater detail is outstripping the tools we have with which to describe it.

      If you can't given an exact answer, estimate the result and give upper bounds for the error.

      The math is never how things really are. There's no such thing as an "exact" answer. Your answers are only exact to the limits of your equipment, or to the certainty of your mathematical model, whichever is less. All our science, all our technology, is built atop our best guess. Then, we hand it off to the philosophers. ;D

      -Carolyn

      --
      Like Daddy always said: if you can't dazzle 'em with brilliance, baffle 'em with bullshit.
    3. Re:Brute force--Bring it on! by Anonymous Coward · · Score: 0

      >I've been seeing a lot of comments disappointed >with brute-force problem-solving--but I am all >for it.

      That's because your an engineer and are looking for a practical application. The point of solving fanciful problems like this is to learn how it was solved and use that knowledge elsewhere. This is the equvalent of "solution left as an exercise for the students computer."

      It in short teaches us nothing except its a good thing to have spare clock cycles. ;-)

    4. Re:Brute force--Bring it on! by DThorne · · Score: 1

      Ahh, Paul Erdos would have been disappointed...this "solution" was not elegant...

      http://www.paulerdos.com/

      DT

  51. Re:A note to the anti-MS zealots by Genyin · · Score: 1

    The operating system should be fault tolerant and not fail when a foreign(read: third party) application does some unexpected behavior.

    For the most part, modern windows does not crash and burn when a third party userland application does stuff. There are certainly the occasional bug and wierd corner cases, but those are to be expected in any software system that was not designed to be proven correct.

    However, if a driver has bugs there really isn't much the OS can do. A driver is sitting there in kernel space, and if it starts writing to random locations in memory or other funkiness it will bring down the box; this is true in most every operating system. Microsoft can not really be blamed for bad third party drivers when they misbehave.

  52. occam's razor by Anonymous Coward · · Score: 0

    So do we assume there is still and elegant proof out there?

    >Yeah I realize occams razor isn't a always applicable if the only solution is tedious. But everything does seem to tend toward simplicity.

  53. The Monty Hall Problem by MajroMax · · Score: 1
    There are two cases where you win by sticking. Where you are shown #2, and where you are shown #3.

    Yes, but the table you draw lists those cases equally with your initial choice, but that is false. Monly's revelation is a seperate event. You're giving what is simply a subchoice the same weight as the main choices.

    Let's assume, for the same of simplicity, that you always pick door number one. Since the first choice is completely random, this doesn't affect the final odds -- and it reduces the number of cases we need to look at fromo 15 to 5.

    1. Door one is the correct choice, and you chose it right off the bat. (33%)
      • Case 1a -- Monty shows you what's behind Door 2, and switching (to Door 3) will result in a loss for you. (50% probability of this Monty revalation)
      • Case 1b -- Monty shows you what's behind Door 3, and switching (to Door 2) will result in a loss for you. (50%)
    2. Door two is the correct choice, and you pick a losing door. (33%)
      • Case 2a -- Monty shows you what's behind Door 3, and switching (to Door 2) will result in a win for you. (100% probability of monty showing you Door 3)
    3. Door three is the correct choice, and you pick a losing door. (33%)
      • Case 3a -- Monty shows you what's behind Door 2, and switching (to Door 3) will result in a win for you. (100% probability of monty showing Door 3)

    Now, to determine your overall probability of winning with a police of (not?) switching, we multiply the probability of each of the main cases by its probability of generating a win for you.

    • Not Switch: Probability of win == 33% * (50%*100% + 50%*100%) [case 1, either of monty's choices means a win for you] + 33% * (0%) [case 2] + 33% * (0%) = 33% chance of winning.
    • Switch: Probability of win == 33% * (50% * 0% + 50% * 0%) [case 1, either door means a loss for you] + 33% * 100% [case 2] + 33% * 100% [case 3] = 66% chance of winning.

    Therefore, in the Monty Hall problem, a policy of switching when offered the choice results in a 66% probability of win for you, while not switching results in a 33% probability for a win -- meaning that it is in your benefit to switch.

    --
    "Evil company X is threatening to restrict our rights! Let's all get together to stop--OOOH! SHINEY!!!" -- AC
  54. Everybody gets this wrong [especially "experts"] by joss · · Score: 1

    This problem annoys the hell out of me because as stated the correct solution is to stick with your original choice, which agrees with intuition. Smarty pants math geeks will argue that you should switch since this wins 2/3 times while sticking with same door wins 1/3.

    This is wrong since it is never stated that the host HAS to open a door and give you a chance to switch. What if he only opens a [wrong] door when he feels like it ? In this situation, you should NEVER switch [assuming the host does not want you to win] since the optimal strategy for the host would be to only open a door and give you a chance to switch if your original choice was correct.

    So, this problem is used as a way for Maths geeks to show off that they are cleverer than everyone else because people's intuition tells normal people that there is no benefit in switching, and in fact, they're right.

    I have NEVER seen a description of this problem where it is stated that the host always opens a door after the initial choice, so the "correct" answer is always wrong. I know of a couple of other questions of this type where the accepted answer is wrong - anybody else like to mention some ?

    --
    http://rareformnewmedia.com/
  55. Re:A note to the anti-MS zealots by SirNAOF · · Score: 2, Insightful

    I would think that anyone who didn't want to restart an entire project like this would save state. You can never tell when there are going to be power problems, virus/worm problems, or even a stupid user that decided they needed that machine and crashed it.

    Checkpointing is your friend.

    --
    Jeremy Baumgartner
  56. Re:Everybody gets this wrong [especially "experts" by 2short · · Score: 1


    Then you have never seen a correct statement of the problem, and the people you have heard it from are indeed idiots trying to look smart. A true Math geek would understand the importance of accurately stating the problem:

    There are three doors. Behind one is a million dollars. Behind the other two there are goats. You pick one door. Monty opens one of the other doors to reveal a goat, and offers you the option of switching your choice to the remaining door. Assuming the location of the million dollars is random, and this pattern is always followed, should you switch?

    That is the problem to which the correct answer is "Yes, you should switch." If the fundamentals of the problem are stated differently, the answer may be different.

    Note that even if they state the problem correctly, they're not actually cleverer than anyone else, since they probably heard the answer along with the problem. If the person telling you about this is a true Math geek though, they probably aren't trying to look clever. They just think this problem is really cool and worth talking about specifically because their intuition fails it just like everyone elses.

  57. Topical Fiction by ThinkingHurts · · Score: 3, Informative

    Anyone interested in a great read involving chess, magic squares, knight's tours, acoustics, fibonnaci numbers, the French revolution and the 1970's programming scene, check out The Eight by Katherine Neville. Just finished it for the third time, and discovered the the last two years of my daily /. education helped me to appreciate and enjoy it even more. I apologize in advance for the amazon link; it was the only site that gave a decent balance of reviews.

  58. Re:on FARK.com this would have the following heade by reverseengineer · · Score: 4, Insightful
    Well, this initially doesn't sound like a very serious problem- I mean, so, you're taking the fairly simple and well-worn problem of finding a knight's tour on a standard chessboard, and throwing in the rather odd constraint that the path has to create an 8x8 magic square. An oddity produced by the rules of chess (trying to fit L-shaped moves on a square board makes finding a knight's tour obviously more challenging than finding a queen's tour) meets an ancient mathematical curiosity. Viewed that way, this problem seems entirely pointless.

    However, try and think about what this problem really is mathematically, rather than in terms of chess or magic squares. A knight's tour requires the knight to visit every square on the board exactly once. Replace "squares" with "nodes," and "board" with "graph," and what we have here is the problem of finding a Hamiltonian path with some interesting constraints.

    And that's where this problem gets interesting- finding a Hamiltonian path on a graph is known to be NP-complete, a designation which carries with it all sorts of baggage, including some of the million-dollar sort. The fact that the question of whether magic knight's tours exist on an standard 8x8 board required 60+ CPU-days to answer speaks volumes about the complexity of the problem, and demands answers as to how this complexity comes about, and why there is no solution with the given constraints. Far from being just a silly mathematical curiosity, this is a problem that presents a lot of potential applications with regards to algorithms, complexity, and computability. Also, if you can find an algorithm that finds Hamiltonian paths in polynomial time, you get the aforementioned free money.

    So yes, the problem of finding a magic tour seems worthless if you only consider the problem literally in terms of a chessboard and magic squares, instead of as a model for other complex problems in mathematics, science, and engineering. But by the same token, how interesting and useful would the Traveling Salesman Problem be if it were only applied to traveling salesmen?

    --
    "FDA staff reviewers expressed concern about the number of patients who were left out of the study because they died."
  59. MOD PARENT UP = The best explanation by Razor+Blades+are+Not · · Score: 1

    This is the best way of thinking about this problem.
    What everyone seems to have missed is the *initial chance* at picking the *wrong* door.

    The key is this : If you initially pick the wrong door, you MUST win if you switch, since Monty ONLY EVER SHOWS YOU AN EMPTY DOOR, and the only other choice is the winner.

    Therefore the chance of a win (if switching) is identical to your chance of picking a loser initially (2/3).

    If you never switch, your chance of winning is only 1/3 - since you never change your mind from your initial pure chance guess.

  60. erm, how many days? by iamhassi · · Score: 1
    "The solution came after 61.40 CPU-days, corresponding to 138.25 days of computation at 1 GHz..."

    sooo... they ran a distributed client on all the computers on a reasonably-sized engineering campus and came up with a answer in how many hours? In 97 there were 465 PCs on UMR's campus (more computers than women enrolled at the college), and I'd imagine they're probably all 1+ ghz by now (considering 1ghz PCs have been out for nearly 4 years now) and they may have more PCs by now.

    --
    my karma will be here long after I'm gone
  61. It doesn't make a difference! by Megor1 · · Score: 1

    Changing your choice makes no difference!

    You don't know what door the prize is behind, the game show host revealing one of the doors (That doesnt have the prize) doesnt change the fact that your choice still has the same chance as any other door (except the one revealed).

    --
    Everyone that disagrees with me is a paid shill
    1. Re:It doesn't make a difference! by Melchior_of_wg · · Score: 1

      To start with, you have a 1 in 3 chance to pick the correct door, and a 2 in 3 chance to pick any of the two incorrect doors.

      If you always keep

      If you pick the correct door, and keep it, you will win. This is a 33% chance.

      If you pick incorrect door 1, and keep it, you will lose. This is a 33% chance.

      If you pick incorrect door 2, and keep it, you will lose. This is also a 33% chance.

      So 33% chance to win, and 66% chance to lose.

      If you always switch

      You pick the correct door, and switch. You lose. This is a 33% chance.

      If you pick incorrect door 1, and switch, you win. This is a 33% chance.

      If you pick incorrect door 2, and switch, you win. This is a 33% chance.

      This gives a 66% chance to win, and 33% to lose. Clearly better.

      The important thing is that you initially have a larger chance to pick the wrong door. All that the second choise does is allow you to switch the odds.

    2. Re:It doesn't make a difference! by Megor1 · · Score: 1

      The choice is not out of 3, its out of 2, monty will always pick an bad door (no matter what door you pick) leaving you with 2 doors, your odds are 1/2 not 1/3.

      --
      Everyone that disagrees with me is a paid shill
    3. Re:It doesn't make a difference! by Melchior_of_wg · · Score: 1

      You can agree with the following things, right? You can chose one door out of three. This choise is pure chance. Okay? The chance, at this point, to chose the correct door is 1/3. Okay? The chance, at this point, to chose one of the two incorrect doors is 2/3. Okay? If you picked an incorrect door at step one, and switch at step two, you MUST have the winning door, no matter what. Okay? I think the problem here is that most people see the second step as purely random. It would be if you used a dice or coin or something to decide if you should switch or not. It would all even out after a bit. The thing is that at this step, you are taking advantage of the previous knowledge. It might help you to think of the second step as just a switch. The whole point is to chose the same option every time, and not do it randomly.

  62. Re:Everybody gets this wrong [especially "experts" by jizmonkey · · Score: 1

    Look, it doesn't matter what the host was thinking when he opened the door. The probabilities don't change depending on whether he wished to open a door with a prize or not. If it so happened that he opened the door with the prize, then your choice would be really easy. But he didn't. You just need to look at the conditional probabilities. The conditional probability that the prize is in the other door, given that he's opened a door with no prize, means that you should switch. That's why mathematicians state the problem the way they do.

    --
    With great power comes great fan noise.
  63. Useless Metric by Anonymous Coward · · Score: 0

    "corresponding to 138.25 days of computation at 1 GHz"

    This is a completely useless metric. An Athlon requires less CPU cycles than a P4 to do the same amount of work. Did they use a 2GHz Athlon?

  64. One criticism that has been used by Raul654 · · Score: 1

    When they did the proof of the 4 color theorem, one mathematician said (IIRC) that a proof should be elegant and small, and that a brute force proof is like a phone book.

    --


    To make laws that man cannot, and will not obey, serves to bring all law into contempt.
    --E.C. Stanton
  65. On the other hand by default+luser · · Score: 1

    Your math seems sound, but you forget that there is a human aspect in deciding which door is opened.

    Your probability calculations are usaeless when you throw the cunning of another human mind into the mix.

    Now, instead of asking yourself "what is the probability", you ask yourself "hey, does the guy who removed the door know the probability, trying to trip me up?"

    Unfortunately, the probability of that depends entirely on the person, and is thus probably best represented as 50/50. Maybe the person is leading you on to force a switch, or maybe it really is the prize door.

    So your chance of willing, thanks to the person involved in the loop, is still 50/50.

    --

    Man is the animal that laughs.
    And occasionally whores for Karma.

    1. Re:On the other hand by jonfelder · · Score: 1

      The probability has nothing to do with the person. Regardless of what Monty is doing, it doesn't affect which door has the prize behind it.

  66. Re:on FARK.com this would have the following heade by Anonymous Coward · · Score: 0

    I don't think fark has much moral authority to criticize. That place makes Slashdot look like a National Academy of Sciences meeting.

  67. Re:A note to the anti-MS zealots by jallen02 · · Score: 1

    -1 (Not Paying Attention) for me :)

    Jeremy

  68. Re:MOD PARENT UP = The best explanation by CheshireCat · · Score: 1

    I gotta call BS on this... if you are shown one empty door, the odds that either of the remaining doors has the prize is 1/2. If you choose after being shown an empty door, you chances are 1/2, no matter which door you choose, even if it's the one you saw before. You're not "choosing" again if you always switch. If you want I can hack up something to simulate a few thousand cases - that doesn't prove anything, but it's a good demonstration.

  69. In other news ... by Dukael_Mikakis · · Score: 1

    ...cancer remains uncured.

    Perhaps you fail to realize that brute-force and enumerating every possible circumstance is a proof. I think that whatever he did sufficiently proved whatever it is that he was trying to prove (from the website, they can't even seem to agree on what a "magic tour" is). However, you are correct that it wasn't particularly graceful or impressive.

    Don't worry, though, he'll probably reverse-engineer a tidy proof within two months or so. Sometimes it only requires the answer to figure out the solution.

  70. Re:A note to the anti-MS zealots by Anonymous Coward · · Score: 0

    > surely a distributed client running on many PCs would be a godsend for solving major maths problems

    It is. Here are the mathematics problems being solved or studied by distributed computing right now:

    http://www.aspenleaf.com/distributed/ap-math.html

  71. Re:Everybody gets this wrong [especially "experts" by Anonymous Coward · · Score: 0

    It doesn't matter whether the host HAS to open a door. But (in the correct, original statement of the problem), the host DID open a door, which had nothing behind it. That's all you need to know in order to conclude that it would be advantageous to switch.

  72. I kid you not by Anonymous Coward · · Score: 0

    I used to do a knight's tour as a part of a memory demonstration - how I earned my way through college. I would have someone pick any spot on the chessboard to start with, then I would tell them the moves to make to do a magic tour, and I could not see the board. It was impressive as hell. It was all mnemonics.

  73. Re:MOD PARENT UP = The best explanation by Razor+Blades+are+Not · · Score: 1

    Sure - go ahead.
    Just remember - the contestant picks first. Monty must pick a *different, empty* door.

    So the chance you're right between two doors is 1/2, provided Monty doesn't give anything away by eliminating a door... But did he give anything away ?
    He did, because he always has to open a losing door: one losing door is always eliminated. The probabilities of your initial choice being correct, and the remaining choices have to sum to equal one. Therefore, the probability of the remaining choices have to sum to equal one minus the probability of your initial choice. In this case (with three doors), they have to sum to equal 2/3. Say a door isn't opened. Then, you would have two to switch to (if you choose to switch - this would be like "changing your mind"), and your chance of picking the correct door would be 1/2 * 2/3. Well, that's 1/3, just like your initial choice. But if Monty has to open a door, then you'll only have one door to switch to. In this case (which is the Monty Hall problem), you'll pick the remaining door - so that'd be 1 * 2/3. And that's a probability of 2/3.

    ...
    Imagine that there were a million doors. Also, after you have chosen your door; Monty opens all but one of the remaining doors, showing you that they are "losers." It's obvious that your first choice is wildly unlikely to have been right. And isn't it obvious that of the other 999,999 doors that you didn't choose; the one that he didn't open is wildly likely to be the one with the prize?


    (quoted without permission from http://www.io.com/~kmellis/monty.html

  74. Re:MOD PARENT UP = The best explanation by Ominous+Coward · · Score: 1

    hack up something that simulates EXACTLY what the monty hall problem suggests. You'll find that always switching yields success 2/3 of the time.

    To put it another way, always staying yields success 1/3 of the time. When you first picked one of the doors, you had a 1/3 chance of being right. When Monty reveals a booby-prize door, there's NO WAY that your 1/3 chance becomes 1/2.

    --
    Ceci n'est pas une sig.
  75. People, its REALLY not that hard. by Psyonic · · Score: 1

    Maybe a quick rewording of the problem that changes nothing will show you all the truth. Imagine for a moment that you have picked one door, and that Monty then gives you a choice of having both the other doors as your choice, or the door you initially picked. You would definitely switch right? 2/3 instead 1/3. That is precisely the same thing the other problem states, except that in my version he already opened one of the two for you. You definitely should switch, to take advantage of the 2/3 probability.

    --
    A man walks into a bar. The bartender says, "What is this, some kind of joke?"
    1. Re:People, its REALLY not that hard. by Muhammed+Absol · · Score: 1

      seriously, that rewording isn't a representation of the problem. In the original question, it is stated that one wrong choice will always be eliminated. Because of this, you never have a 1 in 3. One of the 3 is never really a choice. It's always 1 and 2. In the end, you're always going to have a 1 in 2 chance, in the beginning you have a 1 in 2 chance even though there is a third door, but that third door doesn't count because it's going to be removed no matter what.

  76. Re:on FARK.com this would have the following heade by mgblst · · Score: 1

    It seems to me that rather than talking about mathematicians and non-mathematicians, you are talking about pure and applied mathematicians. Most people wouldn'y invent anything!

  77. Re:Everybody gets this wrong [especially "experts" by Noren · · Score: 1
    The fact that you've discussed this with clueless people exclusively does not necessarily indicate a flaw in the puzzle.

    All of this has been addressed, at length, far too many times on usenet. Read the rec.puzzles archive entry.

  78. Am I the only one... by gillbates · · Score: 1
    who was forced to solve this problem in my sophomore-level data structures class? This is a "standard" problem in many computer science texts! My solution took a few seconds as opposed to 150 days - and that was back when pII 400's were the fastest thing around.

    Seems to me that this guy would have done better to take a few computer science courses before attempting this. My first iteration of the problem produced results similar to his - it could take billions of moves to calculate one solution. But by refining the algorithm so that squares with the highest number of "accessible" positions were tried first, I reduced the number of moves to solution from several billion tried to several thousand.

    I guess it just goes to show that even though computer science started as a branch of mathematics, they have really become two discrete disciplines. A good computer scientist would not have needed 150 computer days to solve this problem; a good mathematician wouldn't have needed a computer. Sadly, the only thing his "solution" has shown is that he's neither good at mathematics, nor computer science.

    I too used to think that I was smart, until I was exposed to college. As I worked through college, I found that many of my "bright ideas" had already been implemented by people who had come before me; I was simply unaware of the solution. Had this guy done a bit of research into computer science first, he would have saved himself the embarassment of spending 150 computer-days to solve a standard textbook problem.

    --
    The society for a thought-free internet welcomes you.
  79. Re:on FARK.com this would have the following heade by lrucker · · Score: 1
    An oddity produced by the rules of chess (trying to fit L-shaped moves on a square board makes finding a knight's tour obviously more challenging than finding a queen's tour

    You'd think so, but I stumbled on an algorithm for it back in college (for a programming challenge on an Apple ][, no less) - start in one corner, pick a direction, and spiral around, always picking the outermost available spot. I didn't have any reason for thinking this would work, I just thought that was an interesting starting assumption.

  80. Re:MOD PARENT UP = The best explanation by CheshireCat · · Score: 1

    Oops... yes, it does make sense, put that way... which is what my simulation shows, as well. So, now I look a bit silly, but I got more coding practice than I've had in weeks, so there's some good out of it. Maybe, just for laughs, I should release the code :-)

  81. It's just mnemonics. by Anonymous Coward · · Score: 0

    It's not too hard. Each of the 64 squares is an image which is tied to the number of the square.
    1=t or d, 2=n, 3=m, 4=r, 5=l, 6=ch or sh, 7=k, 8=f or v, 9=p or b, 0=s
    square 39 is an image tied to the word 'map'.

    The image connected to the 'map' tells you the number of the next square to jump to. The more absurd the way the images are tied together the easier it is to remember what comes next. You're just telling a story. Whatever square they put you on you start the story there.

    A 7 year-old could be taught to do it. Mnemonics - in this case converting numbers which are meaningless into images which are unique in the way that they can be visualized in the mind, then the other image is turned back into the next image and connected to the image representing the next number, and so on, ad infinitum.

  82. Every possible outcome.... by Anonymous Coward · · Score: 0

    I have compiled every possible outcome of the 3 doors game, and posted the file on this website: http://68.113.6.222/proof.txt . Read this and tell me what you think.

    Remember: Although some possible games may appear to be, in effect, the same, I have written every possible sequence of physical events that would constitute a legal game.

    As a helpful illustration, consider this:
    At the moment I begin to play the game, parallel universes are created. In each universe, one possible game is played out. According to the proof, in exactly half of those universes, I walk away a winner.

  83. who wants to be a millionaire by wadiwood · · Score: 1

    Yeah, the version they run here, they can eliminate any of the four.

    Usually the host asks you first, which you think are most likely, or what you are trying to decide between, and usually the two that you are trying to decide between are the two that remain.

    Contestants have since become more cunning, and refuse to reveal what their favourites are.

    Then of course the ones that get eliminated are the silly options. Leaving the similar or ambiguous answers. I can't bear the show with the sound on cos the talk is such drivel, and I can't watch it at all now, cos I got rid of the TV.

    Now I waste my time on Slashdot.

    --

    -- it must be true, it's on the internet.
  84. The above comment shows ignorance by Anonymous Coward · · Score: 0

    ... about what a mathematical proof is. If you can prove that your brute force algorithm will enumerate all possible possibilities, and determine if any satisfy a condition then a run of your algorithm and it's output along with your proof of the correctness of your algorithm IS a mathematical proof.

  85. RTFA by Anonymous Coward · · Score: 0

    > This is a "standard" problem in many computer science texts!

    The stated problem is not to find a knight's tour on an 8x8 chessboard - it's to find a magic knight's tour on an 8x8 chessboard. If you read the article, you'll learn what a magic knight's tour is. It turn's out that there's no such thing as a magic knight's tour on an 8x8 chessboard, so the program had to enumerate and check all possible knight's tours in order to prove this.

    > My solution took a few seconds as opposed to 150 days - and that was back when pII 400's were the fastest thing around.

    There are 8,121,130,233,753,702,400 different knight's tours on an 8x8 chessboard. So in 138.25 days their program checked over 6.8E11 tours per second. That makes your solution look a bit pathetic, doesn't it?

    1. Re:RTFA by gillbates · · Score: 1
      So in 138.25 days their program checked over 6.8E11 tours per second. That makes your solution look a bit pathetic, doesn't it?

      Actually, it makes your math look worse. According to you, this program evaluated 680 billion moves per second. Kind of interesting considering that the processor on which they ran the evaluation has a theoretical maximum of 4 billion instructions per second!

      But that's not the point - brute force is always the least efficient solution.

      so the program had to enumerate and check all possible knight's tours

      Unless, of course, that the program's author could formally prove that the algorithm would eliminate non-magical tours before the evaluation began. The point of algorithm analysis is not merely to write a program which will enumerate and check every possible knight's tour, but rather, one that would eliminate non-magical tours as quickly as they could be proven non-magical.

      --
      The society for a thought-free internet welcomes you.
  86. Re:MOD PARENT UP = The best explanation by Razor+Blades+are+Not · · Score: 1

    As long as you didn't steal any of it from SCO. :)

  87. You're right by bigjocker · · Score: 1

    I'm just returning from a week of vacation and on reexamining the problem I see your point (dont know if this is going to be read anyways). Don't know WTF happened to me last week, but slashdot should offer the posibility of deleting embarrasing posts.

    Anyways, in none of my posts I referred to you as an stupid, and the one who brought harsh language to the thread was you.

    And regarding the large sums of money, feel free to place bets (worked as a poker croupie for four years)

    --
    Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.