home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / rec / puzzles / 8114 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.9 KB  |  71 lines

  1. Newsgroups: rec.puzzles
  2. Path: sparky!uunet!usc!sdd.hp.com!hpscit.sc.hp.com!hplextra!hplntx!apollo.hp.com!potamian
  3. From: potamian@apollo.HP.COM (Spyros Potamianos)
  4. Subject: Re: Killers & Pacifist (SPOILER)
  5. Sender: news@hplabs.hpl.hp.com (HPL News Posting Service)
  6. Message-ID: <Bzq92E.9As@hplabs.hpl.hp.com>
  7. Date: Wed, 23 Dec 1992 19:34:59 GMT
  8. Reply-To: potamian@hpl.hp.com
  9. References: <BzMrJ3.JHH@hplabs.hpl.hp.com> <Dec.22.08.29.06.1992.5984@romulus.rutgers.edu>
  10. Organization: Hewlett-Packard Company
  11. Lines: 58
  12.  
  13. In article <Dec.22.08.29.06.1992.5984@romulus.rutgers.edu>, clong@romulus.rutgers.edu (Chris Long) writes:
  14. |> In article <BzMrJ3.JHH@hplabs.hpl.hp.com>, Spyros Potamianos writes:
  15. |> 
  16. |> > Now the new variation: Everything remains the same, except for a slight
  17. |> > change in the algorithm for selecting the two persons:
  18. |> 
  19. |> >     Randomly choose a killer. Then randomly select another person
  20. |> >     (killer or pacifist).
  21. |> 
  22. |> Let there be 2k killers, p pacifists.  If you choose to be a killer,
  23. |> P(survival)=1/(2k+1) by symmetry.  If you choose to be a pacifist,
  24. |> P(survival)=1/(k+1) since as before we may ignore any interaction
  25. |> between a killer and a different pacifist, hence we may pretend
  26. |> we are the only pacifist; it's clear now that P=1/(k+1) since
  27. |> we survive iff we don't take part in the first k interactions.
  28. |> -- 
  29. |> Chris Long, 265 Old York Rd., Bridgewater, NJ  08807-2618
  30. |> 
  31. |> "S.B., with an I.Q. of 161, failed to complete his course of study,
  32. |> running away instead with his professor's wife."
  33. |> H. J. Eysenck, _Know Your Own I.Q._
  34.  
  35. Hm... I tend to disagree... Lets say we have 4 killers and we are the only
  36. pacifist. Then, the chance of surviving the first round is 3/4
  37. (i.e. after the first killer is selected, the second person can either be
  38. me or one of the 3 remaining killers).
  39. Then if we survive the first round,in the second we have 2 killers, and
  40. the chance of survival is 1/2. So, the total probability of survival is
  41. 3/4 * 1/2 = 3/8
  42.  
  43. Here is what I came up with:
  44. Assume that I became a pacifist, and there are '2*K' killers and 'P'
  45. pacifists (*including* myself)
  46. Let a(k,p) be the probability of survival.
  47.  
  48. The first selected person is always a killer (according to the rules).
  49. The probability of the second person being a killer is:
  50.     (2*k-1)/(p+2*k-1)
  51. The probability of the second person being me is:
  52.     1/(p+2*k-1)
  53. The probability of the second person being another pacifist is:
  54.     (p-1)/(p+2*k-1)
  55.  
  56. In the first case the game continues with '2*K-2 = 2*(K-1)' killers and
  57. 'P' pacifists, in the second we die, and in the thrid we continue with
  58. '2*K' killers and 'P-1' pacifists. So....
  59.  
  60.     a(k,p) = (2*k-1)/(p+2*k-1) * a(k-1,p) + (p-1)/(p+2*k-1) * a(k, p-1)
  61.  
  62. We also know that:
  63.     a(0,p) = 1                    /* no killers */
  64.     a(1,1) = 1/2                /* 2 killers and me */
  65.     a(k,1) = (2*k-1)/(2*k) * a(k-1, 1)        /* 2*K killers and me */
  66.  
  67. I haven't solved this equation though... Can anybody help???
  68.  
  69. Spyros Potamianos
  70. potamian@hpl.hp.com
  71.