John123's Profile
Expert
1299
points

Questions
36

Answers
150

John123 loves solving puzzles at PuzzleFry.com. I am proud PuzzleFry member and like my time invested in solving brain teasers.
  • The gradient of the teal hypotenuse is different than the gradient of the red hypotenuse.

    • 6641 views
    • 1 answers
    • 0 votes
  • Team needs a COUNTER(so selects a leader as counter)

    The team nominates a leader. The group agrees upon the following rules so that counting can be done by counter:

    The leader is the only person who will announce that everyone has visited the switch room. All the prisoners (except for the leader) will flip the first switch up at their very first opportunity, and again on the second opportunity. If the first switch is already up, or they have already flipped the first switch up two times, they will then flip the second switch. Only the leader may flip the first switch down, if the first switch is already down, then the leader will flip the second switch. The leader remembers how many times he has flipped the first switch down. Once the leader has flipped the first switch down 44 times, he announces that all have visited the room.

    It does not matter how many times a prisoner has visited the room, in which order the prisoners were sent or even if the first switch was initially up. Once the leader has flipped the switch down 44 times then the leader knows everyone has visited the room. If the switch was initially down, then all 22 prisoners will flip the switch up twice. If the switch was initially up, then there will be one prisoner who only flips the switch up once and the rest will flip it up twice.

    The prisoners can not be certain that all have visited the room after the leader flips the switch down 23 times, as the first 12 prisoners plus the leader might be taken to the room 24 times before anyone else is allowed into the room. Because the initial state of the switch might be up, the prisoners must flip the first switch up twice. If they decide to flip it up only once, the leader will not know if he should count to 22 or 23.

    In the example of three prisoners, the leader must flip the first switch down three times to be sure all prisoners have visited the room, twice for the two other prisoners and once more in case the switch was initially up.

    • 44497 views
    • 3 answers
    • 0 votes
  • Pick out two cards of the same suit. Select a card for Alex where adding a number no greater than six will result in the number of the other card of the same suit. Adding one to the Ace would cycle to the beginning again and result in a Two. E.g. if you have a King and a Six of Diamonds, hand the King to Alex. The other three cards will be used to encode a number from 1 through 6. Devise a system with Peter to rank all cards uniquely from 1 to 52 (e.g. the two of hearts is 1, the two of diamonds is fourteen etc…). That will allow you to choose from six combinations, depending on where you put the lowest and highest cards.

    • 6262 views
    • 1 answers
    • 0 votes
  • 20.

    At one end label a wire “A”. Then join two wire and label them both “B’, then tie three (not already joined) wires together and call them each “C”….continue until all the wires are joined together in groups of 1, 2, 3, 4, 5, etc….for a 120 strand cable. NOTES that the largest group will have 15 wires.

    Now walk to the other end.

    Using a (battery and light bulb) it is now possible, for example, to find the wire that wasn’t joined to any of the others. It is similarly possible to find which wires are in a pair, which is joined in a group of 3, etc. Each time a group is found the technician should label it with the letter for the group, so the single wire is labeled ‘a’, the pair are each labeled “A”, etc….this now matches the other end…..the letters will go up to “O”. Now take “A”, “B”, up to “O” and join them together in a group and label each one with “15”, so we have cable “A15”, “B15′, “C15”, up to “O15”. Take the second and last “B'”wire and
    join it with a remaining “C”, “D”, up to “O” and label these each “14′ so we have “B14”, “C14”, up to “O14”. Repeat this until at the end there will be a single “O” cabled labeled “O1”.

    Now walk to the other end.

    Now untie all the old connections and identify the group labeled “1”, “2”, “3” …”15″ at which point each wire at each end has a unique classification.

    Alternative solution from citrog:

    First, tie the 120 wires together randomly in 60 pairs. Next, go to the far end, randomly label any wire 1, and connect the battery to it. Test which other wire is tied to it at the starting end, and label that wire 2. Then pick another wire other than 1 or 2, label it 3, and tie it to 2, so now the battery is connected to 1, which is tied to 2 at the other end, which is tied to 3 at the end you’re at. Now test which wire is tied to 3 at the other end, and label that 4, etc. What you will wind up with is all 120 wires tied to each other in a continuous sequence. Then go back to the end you started at, leaving the battery behind, connected to wire 1. Before you untie all the wires at the starting point, label each wire so that you know which wire was paired with which. Now with all the wires untied at the starting point, test which wire is connected to the battery, and label that 1. Whichever wire was in the same pair as 1, label that 2, and then tie 1 and 2 back together. Now you can find 3, because it’s tied to 2 on the far end. Once you find 3, label the wire it was tied to 4, etc. This assumes that the resistance of the wire is small enough that the battery will still light the bulb across 12,000 km of wire.

    • 5941 views
    • 1 answers
    • 0 votes
  •  99.

    You can save about 50% by having everyone guess randomly.

    You can save 50% or more if every even person agrees to call out the color of the hat in front of them. That way the person in front knows what color their hat is, and if the person behind also has the same colored hat then both will survive.

    So how can 99 people be saved? The first wise man counts all the red hats he can see (Q) and then answers “blue” if the number is odd or “red” if the number is even. Each subsequent wise man keeps track of the number of red hats known to have been saved from behind (X), and counts the number of red hats in front (Y).

    If Q was even, and if X&Y are either both even or are both odd, then the wise man would answer blue. Otherwise the wise man would answer red.

    If Q was odd, and if X&Y are either both even or are both odd, then the wise man would answer red. Otherwise the wise man would answer blue.

    There can be any number of red hats, as the following examples show…

    Prisoner Hat he wears Number of red hats he sees (Y) Red hats saved for sure (X) He says
    1 red 6 even (Q) N/A red
    2 blue 6 even 0 even blue
    3 red 5 odd 0 even red
    4 blue 5 odd 1 odd blue
    5 blue 5 odd 1 odd blue
    6 red 4 even 1 odd red
    7 red 3 odd 2 even red
    8 red 2 even 3 odd red
    9 red 1 odd 4 even red
    10 red 0 even 5 odd red

    Another example might also help, as this puzzle seems to trip up most people…

    Prisoner Hat he wears Number of red hats he sees (Y) Red hats saved for sure (X) He says
    1 blue 5 odd (Q) N/A blue
    2 blue 5 odd 0 even blue
    3 red 4 even 0 even red
    4 blue 4 even 1 odd blue
    5 blue 4 even 1 odd blue
    6 red 3 odd 1 odd red
    7 blue 3 odd 2 even blue
    8 red 2 even 2 even red
    9 red 1 odd 3 odd red
    10 red 0 even 3 odd red

     

    • 5575 views
    • 1 answers
    • 0 votes
  • 10 prisoners must sample the wine. Bonus points if you worked out a way to ensure than no more than 8 prisoners die.

    Number all bottles using binary digits. Assign each prisoner to one of the binary flags. Prisoners must take a sip from each bottle where their binary flag is set.

    Here is how you would find one poisoned bottle out of eight total bottles of wine.

    1 2 3 4 5 6 7 8
    Prisoner A X X X X
    Prisoner B X X X X
    Prisoner C X X X X

    In the above example, if all prisoners die, bottle 8 is bad. If none die, bottle 1 is bad. If A & B dies, bottle 4 is bad.

    With ten people there are 1024 unique combinations so you could test up to 1024 bottles of wine.

    Each of the ten prisoners will take a small sip from about 500 bottles. Each sip should take no longer than 15 seconds and should be a very small amount. Small sips not only leave more wine for guests. Small sips also avoid death by alcohol poisoning. As long as each prisoner is administered about a millilitre from each bottle, they will only consume the equivalent of about one bottle of wine each.

    Each prisoner will have at least a fifty percent chance of living. There is only one binary combination where all prisoners must sip from the wine. If there are ten prisoners then there are ten more combinations where all but one prisoner must sip from the wine. By avoiding these two types of combinations you can ensure no more than 8 prisoners die.

    One viewer felt that this solution was in flagrant contempt of restaurant etiquette. The emperor paid for this wine, so there should be no need to prove to the guests that wine is the same as the label. I am not even sure if ancient wine even came with labels affixed. However, it is true that after leaving the wine open for a day, that this medieval wine will taste more like vinegar than it ever did. C’est la vie.

    • 5538 views
    • 1 answers
    • 0 votes
  • 28

    Each day he makes it up another meter, and then on the twenty seventh day he can leap three meters and climb out.

    • 5339 views
    • 1 answers
    • 0 votes
  • Ask one robot what the other robot would say, if it was asked which door was safe. Then go through the other door.

    • 8371 views
    • 1 answers
    • -1 votes
  • There are 2 possible solutions:
    1. if angels B and C had aureole of the same color, then angel A must have immediately said his own color (other then theirs),
    2. if angels B and C had different colors, then angel A must have been silent and that would have been a signal for angel B, who could know (looking at angel C) what his own color is (the other one then C had).

    • 7594 views
    • 1 answers
    • 0 votes
  • The first one (he did not see any head bands) thought this way: 
    The last one is silent, which means, he does not know, ergo at least one of head bands he sees is white. The one in the middle is silent too even though he knows what I already mentioned. If I had a red head band, the second one would have known that he had a white head band. However, nobody says anything, so my head band is not red – my head band is white.

    • 6249 views
    • 1 answers
    • 0 votes