Moderator: Community Team

are registered trademarks of Backglass Heavy Industries.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?
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.
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.
PLAYER57832 wrote:# kittens legs = # kittens * 4 = 343 * 7
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"
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.
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"
john9blue wrote:TheProwler wrote:On the first try? It can't be done with 100% accuracy.
That is baloney, sir. It can be done. Think outside the box. Pun intended.
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.
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"
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.
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"
john9blue wrote:Iliad wrote:You can do it with less prisoners and in only one "test run"
You can do it with no prisoners if you use slaves.
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.
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"
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.
john9blue wrote:MeDeFe wrote:That would impair the quality of the celebrations.
Lol, I was being semi-sarcastic.
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.
john9blue wrote: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..
Well, I'm not going to tell you the trick during the question, am I?
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.
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.
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"