Moderator: Community Team

are registered trademarks of Backglass Heavy Industries.Depends how many got ran over by the bus on the wayBackglass wrote:This reminds me of an old nursery rhyme from my childhood:
As I was going to St. Ives, I met a man with Seven Wives.
Each Wive had Seven Sacks,
Each Sack held Seven Cats,
Each Cat had Seven "Kits".
Kits, Cats, Sacks, Wives...how many went to St. Ives?
Backglass wrote:This reminds me of an old nursery rhyme from my childhood:
As I was going to St. Ives, I met a man with Seven Wives.
Each Wive had Seven Sacks,
Each Sack held Seven Cats,
Each Cat had Seven "Kits".
Kits, Cats, Sacks, Wives...how many went to St. Ives?
saxitoxin wrote:Your position is more complex than the federal tax code. As soon as I think I understand it, I find another index of cross-references, exceptions and amendments I have to apply.
Timminz wrote:Yo mama is so classless, she could be a Marxist utopia.
The problem also is that he didn't say how many bottle were needed for the celebration. One would assume he meant he wanted to identify the specific bottle that was poisoned. Which, given the possibility that it may take 20 hours to complete the first round of tests, and that there is no time to complete a second round of tests before 24 hours, would mean you would have to test 999 bottles in the first round.MeDeFe wrote:With as little as 32 prisoners you can find the poisoned bottle in 2 "test runs", though it's not guaranteed that you will have indentified the bottle within 24 hours. Assign 31 or 32 bottles to each of the 32 prisoners, give each prisoner a drop from each of the bottles assigned to him, see which one dies. Reassign the bottles he drank from, one to each prisoner and give them a drop and you'll have the bottle. If the prisoner who died first had 32 bottles and you have one bottle more than you have prisoners, keep it and if noone dies that's the poisoned bottle. If the poison works within 10 hours you'll have it, if it takes 20 you'll at least have 968 bottles for your celebration.
The variable time it takes for the poison to work messes things up a lot. If it were always the same length of time before a person dies from the poison this would be fairly easy because you could just let them drink every 30 minutes or so in a system and find out which bottle is poisoned that way.
El Capitan X wrote:The people in flame wars just seem to get dimmer and dimmer. Seriously though, I love your style, always a good read.
Ramned wrote:HINT: 7 girls..........they each hold 7 bags apiece, and within every single damned bag there are 7 cats and 7 kittens. They all have legs. This should be your thought process.
NOT
7 girls * 7 cats * 7 kittens * 2 legs for the girls * 4 legs for the cats and kittens.
Heh, you multiplied the number of kittens by 7 instead of 4.PLAYER57832 wrote:# kittens legs = # kittens * 4 = 343 * 7
Here's a classic.john9blue wrote:7 girls = 14 legs
7 girls * 7 cats = 49 cats = 196 legs
49 cats * 7 kittens = 343 kittens = 1372 legs
Total = 1582 legs.
About a minute.
natty_dread wrote:Do ponies have sex?
(proud member of the Occasionally Wrongly Banned)Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
On the first try? It can't be done with 100% accuracy.john9blue wrote:You are testing four switches, one of which is connected to an incandescent light bulb. The bulb is on a table, and is covered by a box, so you cannot tell whether it is on or off. How can you flip the switches so that, when you remove the box, you can instantly tell which switch is connected to the lightbulb?
El Capitan X wrote:The people in flame wars just seem to get dimmer and dimmer. Seriously though, I love your style, always a good read.
That is baloney, sir. It can be done. Think outside the box. Pun intended.TheProwler wrote:On the first try? It can't be done with 100% accuracy.
natty_dread wrote:Do ponies have sex?
(proud member of the Occasionally Wrongly Banned)Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
I could set up a test that fully adhered to the conditions you stipulated in the description of the problem, but would make it impossible to find a solution with 100% accuracy on the first try. So there is a catch or a trick that was not fully explained in the question.john9blue wrote:That is baloney, sir. It can be done. Think outside the box. Pun intended.TheProwler wrote:On the first try? It can't be done with 100% accuracy.
El Capitan X wrote:The people in flame wars just seem to get dimmer and dimmer. Seriously though, I love your style, always a good read.
Well, I'm not going to tell you the trick during the question, am I?TheProwler wrote:I could set up a test that fully adhered to the conditions you stipulated in the description of the problem, but would make it impossible to find a solution with 100% accuracy on the first try. So there is a catch or a trick that was not fully explained in the question..
natty_dread wrote:Do ponies have sex?
(proud member of the Occasionally Wrongly Banned)Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
You can do it with less prisoners and in only one "test run"MeDeFe wrote:With as little as 32 prisoners you can find the poisoned bottle in 2 "test runs", though it's not guaranteed that you will have indentified the bottle within 24 hours. Assign 31 or 32 bottles to each of the 32 prisoners, give each prisoner a drop from each of the bottles assigned to him, see which one dies. Reassign the bottles he drank from, one to each prisoner and give them a drop and you'll have the bottle. If the prisoner who died first had 32 bottles and you have one bottle more than you have prisoners, keep it and if noone dies that's the poisoned bottle. If the poison works within 10 hours you'll have it, if it takes 20 you'll at least have 968 bottles for your celebration.
The variable time it takes for the poison to work messes things up a lot. If it were always the same length of time before a person dies from the poison this would be fairly easy because you could just let them drink every 30 minutes or so in a system and find out which bottle is poisoned that way.
You can do it with no prisoners if you use slaves.Iliad wrote:You can do it with less prisoners and in only one "test run"
natty_dread wrote:Do ponies have sex?
(proud member of the Occasionally Wrongly Banned)Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
That would impair the quality of the celebrations.john9blue wrote:You can do it with no prisoners if you use slaves.Iliad wrote:You can do it with less prisoners and in only one "test run"
Amirite?
saxitoxin wrote:Your position is more complex than the federal tax code. As soon as I think I understand it, I find another index of cross-references, exceptions and amendments I have to apply.
Timminz wrote:Yo mama is so classless, she could be a Marxist utopia.
Lol, I was being semi-sarcastic.MeDeFe wrote:That would impair the quality of the celebrations.
natty_dread wrote:Do ponies have sex?
(proud member of the Occasionally Wrongly Banned)Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"
first you turn 2. If the light goes on, you turn one of those switches off (does not matter which one). If not, you turn on one added switch. Either way, you know which is which.Here's a classic.
You are testing four switches, one of which is connected to an incandescent light bulb. The bulb is on a table, and is covered by a box, so you cannot tell whether it is on or off. How can you flip the switches so that, when you remove the box, you can instantly tell which switch is connected to the lightbulb?
SMARTASS NOTE: You cannot see the wires. You cannot shoot the box or remove it from a distance. The switches can only turn on and off. This is not Schrodinger's lightbulb.
Yep, you only needed 10 prisoners.john9blue wrote:Lol, I was being semi-sarcastic.MeDeFe wrote:That would impair the quality of the celebrations.
I think I know what it is, though. If nobody else has any idea, then I'll post the answer. It's a tricky riddle.
EDIT: I'll just post the answer now. Don't look if you want to figure it out yourself (which I suggest you do).
So, suppose you only had 1 prisoner. The max number of bottles to test in 1 trial is 2 (have him drink one).
Now, suppose you have 2 prisoners. You have them both drink one, and leave a third aside. But, if they BOTH drank from a bottle, and it was poisoned, they would both die. So, you can test 4 bottles with 2 prisoners.
Same with three prisoners. Have P1 drink B1, P2 drink B2, and P3 drink B3. Then, have P1 and P2 drink B4, P1 and P3 drink B5, and P2 and P3 drink B6. Then, have all of them drink B7, and leave B8 aside. You can test 8 bottles with 3 prisoners.
Obviously, these are powers of two. So, to test 1000 bottles, you would need ceil(log2(1000)) = 10 prisoners.
Thinking further, the alive/dead status of a prisoner after one trial can be represented with a bit (1 or 0). 10 bits (or a 10 digit binary number) can go up to 1023, which is more than enough to test every bottle.
That was a good one, Iliad.
Well, if it is not instantly, then you can do it with heat...john9blue wrote:Well, I'm not going to tell you the trick during the question, am I?TheProwler wrote:I could set up a test that fully adhered to the conditions you stipulated in the description of the problem, but would make it impossible to find a solution with 100% accuracy on the first try. So there is a catch or a trick that was not fully explained in the question..
The information is right there. You remove the box, and you can tell which switch is connected to the light bulb using the bulb alone, without taking it out of its socket.
EDIT: I said "instantly" so that it was clear you could not go back to the switches. Let's say you have one second.
El Capitan X wrote:The people in flame wars just seem to get dimmer and dimmer. Seriously though, I love your style, always a good read.
I am humbled.john9blue wrote:Thinking further, the alive/dead status of a prisoner after one trial can be represented with a bit (1 or 0). 10 bits (or a 10 digit binary number) can go up to 1023, which is more than enough to test every bottle.
El Capitan X wrote:The people in flame wars just seem to get dimmer and dimmer. Seriously though, I love your style, always a good read.
Would it be cheating to use a glass table and look underneath as your flipped the switches?pmchugh wrote:nice one illy I got the 10 but never could have explained as well as john.
However if the heat thing is correct i don't like the question, its cheating.
El Capitan X wrote:The people in flame wars just seem to get dimmer and dimmer. Seriously though, I love your style, always a good read.
natty_dread wrote:Do ponies have sex?
(proud member of the Occasionally Wrongly Banned)Army of GOD wrote:the term heterosexual is offensive. I prefer to be called "normal"