Question

An Unfamiliar, Familiar Riddle:

Asked by: Caudax

Following your freedom from the prison you have landed in the city...

You have again been convicted and found guilty of an abominably horrendous crime. However, you have been at your best behavior so the warden decides to give you a chance at freedom. You've been brought into a hut in the forest with the warden. You have to pick the path to your freedom (the city) or you will follow a path that leads back to the shack where you will be tied completely so you cannot be moved and left. Once more, there are a few conditions:

1) It will be solved by either chance or intellect.
2) This time you're in a straightjacket and your legs are chained together so that you cannot make any large strides.
3) You may ask only one guard one question.
4) There are seven paths, each guarded by 2 guards.
5) The guards will either tell the truth or lie when asked.
6) The warden is behind you.
7) Once you have chosen a path, you must take it.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-04-27 at 23:25:38ID21405386
Tags

riddle

,

guards

,

truth

,

1

Topic

Puzzles & Riddles

Participating Experts
21
Points
100
Comments
46

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

    Free Tech Articles

    1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
      It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
    2. SCCM OSD Basic troubleshooting
      SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
    3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
      This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
    4. Create a Win7 Gadget
      This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
    5. Outlook continually prompting for username and password
      There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
    6. Backup Exchange 2010 Information Store using Windows Backup
      There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

    Cloud Class Webinars

    1. Avoiding Bugs in Microsoft Access
      Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
    2. Top 10 Best New Features in Visio 2010
      Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
    3. IT Consultant Business Secrets Revealed
      Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
    4. Disaster Recovery and Business Continuity
      Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
    5. Organize Your Visio Diagrams with Containers and Lists
      Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
    6. How to Us Objects, Properties, Events and Methods in Microsoft Access
      Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

    Join the Community

    Give a Little. Get a Lot.

    Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

    Join the Community

    Answers

     

    by: sunnycoderPosted on 2005-04-28 at 01:22:00ID: 13883743

    Hi Caudax,

    > 5) The guards will either tell the truth or lie when asked.
    If that means any guard will tell only lies or only truth, then

    If I were to ask you path to the city, which path would you indicate?

    should work

    Cheers!
    sunnycoder

     

    by: SWOnePosted on 2005-04-28 at 07:44:53ID: 13886202

    OMG! The top 15 looks like a dagger!!

    Sorry, sorry, OT. I'll post this in the lounge.

     

    by: CaudaxPosted on 2005-04-28 at 07:53:49ID: 13886327

    synnycoder,

    That DOESN'T mean the guard will only tell lies or truth, so you could still get a bad answer.

     

    by: andyalderPosted on 2005-04-28 at 11:17:08ID: 13888510

    >3) You may ask only one guard one question.

    Can you ask the warden?

     

    by: ViRoyPosted on 2005-04-28 at 11:34:00ID: 13888691


    well if the guards can lie or be truthfull at will, it wouldnt serve to ask any questions as no information recieved can be determined as usefull. i would start gnawing straps.

     

    by: ViRoyPosted on 2005-04-28 at 11:42:07ID: 13888773


    well i take that back, you can ask one question, and theres a 50% chance of it being incorrect. take a chance i guess and point to a trail (with your nose or foot), and ask how many to the left or right is the trail to freedom. u got a 50% chance of him lying or you making it to freedom. i dont see any possibility of getting a 100% factual answer.

    maybe you could argue that since they all work for the same prison, they are all equal which means they are 1 in the same and are all subject to answering your question since they are all "the guard". ask which trail is the correct one and take the majority vote.

    or maybe you could ask a guard "if your a liar point to the trail to freedom, if you are truthfull, point to the trail to freedom."
    heads i win, tails you lose.

     

    by: ViRoyPosted on 2005-04-28 at 11:42:44ID: 13888777


    can you have your own body guard present ?

     

    by: JohnK813Posted on 2005-04-28 at 13:16:03ID: 13889633

    How about,

    "Which of these paths do not lead to freedom (the city)?"

    A truthful guard would point to the 6 incorrect paths.  A lying guard would (hopefully, if my logic is correct) point only to the freedom path.

     

    by: DawafflemanPosted on 2005-04-28 at 13:22:13ID: 13889685

    if you ask the guard which door is the exit he will obviously lie because his boss (the warden) is standing right behind you and im sure he wouldnt appreciate you getting away

     

    by: WwysdomPosted on 2005-04-28 at 16:03:06ID: 13890794

    Which paths will the liar tell me to take?
    Liar points to correct path, the other will point to 6 wrong paths.

    Which paths will the truthful guard tell me to take?
    Truthful guard points to correct path, the other will point to 6 wrong paths.

     

    by: rafranciscoPosted on 2005-04-28 at 21:01:03ID: 13891990

    I will ask one of the guards, "If you will ask the other guard if this is the path to freedom, what will he say".  If the guard I asked is the liar and the answer is yes, then this is not the path to freedom because the other guard will be telling the truth and say "no" but since he is a liar, he will say "no".

    If the guard tells the truth and answers yes, then this is still not the path to freedom because the one he asked is the liar and will say yes.

    On the other hand, if the liar guard say no, then this is the path to freedom because the other guard will be telling the truth, which will be yes, and being a liar, he will say no.

     

    by: mhapsekarPosted on 2005-04-28 at 22:51:37ID: 13892295

    I'll say that a prisoner (my friend) ran towards the city without being noticed by the guards a few minutes ago, to any one of the guards. Assuming that all the guards are sincere at their work (if not truthful), at least one of the guards will go in a path leading to the city.

     

    by: jkmyoungPosted on 2005-04-28 at 23:11:24ID: 13892353

    I disagree with JohnK813 and Wwysdom.

    A guard could just as easily point to any set of random paths, including both the city and shack path. They'd still be lying.

    Also as stated "That DOESN'T mean the guard will only tell lies or truth"

     

    by: WwysdomPosted on 2005-04-29 at 23:44:11ID: 13899949

    Since there are only seven paths, you will be brought to the hut via one of these paths, therefore, the path where you came in on, is the path to freedom. Remember and choose this path, and nomatter what question or answer, it's the right path.

    Or

    Since all this happens in a 'forest' and not a cave, you can just choose any path go outside, explore alittle, wander off the paths until you get to the city.

     

    by: DawafflemanPosted on 2005-04-30 at 06:48:53ID: 13900550

    you start at the first door and see if it leads to freedom if it does not then you declare it a "practice". then you go to the next one and do the same thing until you find the door that leads to freedom in which case it was no longer a practice, but your actual choice.

     

    by: tonsofpcsPosted on 2005-05-01 at 15:20:50ID: 13905809

    I wait a bit, then tell the guards that the warden seems faint and ask "Where should I take him so that he may be treated?"

     

    by: tonsofpcsPosted on 2005-05-01 at 15:22:44ID: 13905814

    Or, rereading the rules, simply state "I choose the path that leads to the city.", then you can walk down as many paths as you want and keep going back until you take the one leading to the city.  [rule 7 requires you eventually take that path once you choose it]

     

    by: ViRoyPosted on 2005-05-03 at 11:12:37ID: 13920250


    can you climb a tree and see down the paths? :D

     

    by: tonsofpcsPosted on 2005-05-04 at 14:42:10ID: 13931160

    3) You may ask only one guard one question. -- How about one question each?
    How many questions can I ask the warden?

     

    by: puranik_pPosted on 2005-05-04 at 22:57:37ID: 13933308

    You ask one guard (guard#1)...
    "If you ask guard#2
    and he asks guard#3
    and he asks guard#4
    and he asks guard#5
    and he asks guard#6
    and he asks guard#7
    and he asks guard#8
    and he asks guard#9
    and he asks guard#10
    and he asks guard#11
    and he asks guard#12
    and he asks guard#13
    and he asks guard#14 'If I were to ask you path to the city, which path would you indicate? '"

    So you take the path he points out.

     

    by: jimhornPosted on 2005-05-05 at 11:17:44ID: 13938535

    Stick your head out of the hut, and look for the city.  Take the path that goes in that direction.

     

    by: DawafflemanPosted on 2005-05-05 at 12:19:39ID: 13939171

    you ask any guard:

    "if this question is olny worth 40 points, then why do i care which is the path to freedom?"

     

    by: tonsofpcsPosted on 2005-05-07 at 14:33:51ID: 13951960

    puranik_p: They aren't always lying, and they aren't always trutful, they are normal guards.  
    How about "Would you accept a bribe?"

     

    by: phileocaPosted on 2005-05-09 at 15:39:52ID: 13964025

    according to the author's facts and logic:

    1) there are 7 paths, each guarded by 2 guards.
    2)He didn't say 7 consecutive paths.
    ---thus there being 7 paths in front of you, 14 guards, and only 1 question.

    with 7 paths, 1 leading to the city, and 1 leading to the shack. where do the other 5 lead?

    as far as climbing a tree.. you're in a stray jacket.  Good luck monkey!



     

    by: DawafflemanPosted on 2005-05-09 at 16:37:30ID: 13964308

    ah touchè

     

    by: compfixer101Posted on 2005-05-10 at 10:57:21ID: 13970901

    wait until night and look out of the hut and see if you see anylights or a glow and go down the path and goes toward that direction


    either that or just decide not to go down a pathand just make your own path  either way you will get to the city AKA freedom

    CF101

     

    by: dannywarehamPosted on 2005-05-15 at 02:56:44ID: 14005115

    If one guard always tells the truth and one always lies, you can ask one of the two guards (at every point):

    "Would the other guard tell me that this is the right way?"

    If you have asked the truthful guard, then the answer would be that it is the wrong way.
    If you asked the lying guard, then the answer would still be that it is the wrong way.
    Hence, you know now that the otehr way will always be teh right way...

    (damn I'm good)

    :-)

     

    by: qwaleteePosted on 2005-05-18 at 16:40:59ID: 14032166

    Well, if there are svene paths but only two destinations, that means that there is a "dividing point... paths to the left go one way, paths to the right go the other way.  So, I can ignore all but the leftmost and rightmost paths, making this a two path puzzle.

    Ah, but what if the paths cross?  That's outside the bounds of this riddle -- if a left path crosses a left path, it doesn't matter, if a right path crosses a right path, it doesn't matter, if a left path crosses a right path, then you have a path taht can lead EITHER to good or bad, and the riddle states that each path leads either to freedom or to the shack, and a path that "splits" into the two opposing directions would thus break the rules.

    The chains and straightjacket are completely irrelevant.

    The two guards guarding are irrelevant, unless the riddle is misstated, and means to say that of each pair, one is a pathological liar, while the other is completely honest.

    The warden being behind is also irrelevant.

    The choose and stay the course rule is also irrelevant -- once I have asked my one question, I must know my answer.  Well, I suppose it codl be to rule out the posibility of my coming toward the end, seeing the shack, running back, and choosing again.

    And of course, the whole question is irrelevant, because you would never see me commit a horrendous crime.

     

    by: WwysdomPosted on 2005-05-19 at 00:19:43ID: 14034075

    And if you manage to escape to the city, make sure that the warden gets sued for corruption and abuse of his power. Fancy the warden letting a death sentenced prisoner escape time and again. I wonder how much he's paid to do that?

    One more alternative answer is that, you choose any path, go outside the hut, block all the 7 doors and set fire to the hut, then you can take your own sweet time to get away to the city.

    Or, go outside, get to a payphone, call up a good friend or relative to get them to come untie you later, go back, get tied up, left behind, and wait for the person you called to come help you.

    Actually, to reiterate my answer earlier that since there are seven paths only, 6 of them leads back to the hut, which means that,

    path 1 goes back to path 6
    path 2 goes back to path 5
    path 3 goes back to path 4

    or some other combination, which means the only path left must be the path that you came to the hut from.

     

    by: DawafflemanPosted on 2005-05-19 at 12:28:08ID: 14039685

    for the one question you could ask for a computer.
    then just go onto google satellite maps and zoom in till you find the right path

     

    by: CaudaxPosted on 2005-05-22 at 22:15:46ID: 14057894

    danny, thank you for barely paying attention to the riddle and any of the following posts.

    The Warden isn't a guard.

    "A" does not translate into "one."

    Lets pretend you took a bad path, so it's a path that leads to the city.
    Lets pretend you didn't take that path and took another path, but that's also a path that leads to the city.

    Does this explain how "a" does not necessarily mean "one"?

    The straightjacket is so that people refrain from comments about beating up the guards, etc.

    Also, do not make any assumptions such as being able to see the path before you leave the shack and have chosen it.

    You have until next the 29th to solve the riddle..

     

    by: CaudaxPosted on 2005-05-22 at 22:16:07ID: 14057897

    Points increased

     

    by: ozoPosted on 2005-05-23 at 00:14:07ID: 14058269

    "What path leads to the city if you are telling the truth, and back to the shack if you are telling a lie?"

     

    by: qwaleteePosted on 2005-05-23 at 09:39:13ID: 14061676

    ozo,

    > "What path leads to the city if you are telling the truth, and back to the shack if you are
    > telling a lie?"
    That's really two different questions, isn't it?

    - qwaletee

     

    by: qwaleteePosted on 2005-05-23 at 09:40:25ID: 14061690

    Sorry, that's AT LEAST two questions, and possibly three ;)

     

    by: ozoPosted on 2005-05-23 at 12:32:17ID: 14063112

    It is a single question with a single answer satisfying a conjunctive statement.

     

    by: DrewKPosted on 2005-05-26 at 11:37:14ID: 14088852

    Caudax said, "Lets pretend you took a bad path, so it's a path that leads to the city."

    Wouldn't that be a good path?

    Drew

     

    by: joe-quickPosted on 2005-05-26 at 19:46:44ID: 14091751

    ask "Which way to the psychiatric hospital"

     

    by: ConfusingPosted on 2005-06-02 at 21:32:34ID: 14136989

    "If you were to respond with the opposite veracity to that which you are prepared to answer me now, which is the one path that you would not indicate as being the correct path?"

    So, if he answers truthfully, he will say which one path he would lie about being wrong, ie. the right path.
    On the other hand, if he lies, he will say which one path he would lie about being wrong again - because he'd be lying about the "opposite veracity".

     

    by: ozoPosted on 2005-06-02 at 22:14:44ID: 14137073

    The guard would then either give a truthful answer to
    "If you were to respond with a lie, which is the one path that you would not indicate as being the correct path?"
    or a false answer to
    "If you were to respond with the truth, which is the one path that you would not indicate as being the correct path?"
    But if one were to respond with the truth, there would be more than one path that one would not indicate as being the correct path.
    Equivalently:
    "If you were to respond with the same veracity to that which you are prepared to answer me now, which is the one path that you would indicate as being the correct path?"

    Instead:
    "What is a path which, if you were to respond with the same veracity to that which you are prepared to answer me now, you would indicate as being a correct path?"



     

    by: dannywarehamPosted on 2005-06-03 at 01:35:18ID: 14137671

    If the warden is behind you (possibly pushing you in a wheel chair, due to you being chained), could you not use his authority?

    Ask either guard:
    "The warden wants to take me the correct way. Is that OK?"

    I still stick by my original post, that you could ask:

    "Would the other guard tell me that this is the right way?"

     

    by: CaudaxPosted on 2005-06-04 at 12:01:59ID: 14146451

    Danny, there are 13 other guards (14 total).

    Asking if the warden wanting you to take the correct way will not have them say "go there."
    Confusing, you have succeeded in proving your namesake; however, the guard can choose to lie for one section and tell the truth for the other.

    Drewk, good point. I meant the hut though.

    I asked to have the points refunded because nobody succeeded.

    The answer is: "The question doesnt matter. Just pick the same path you took from the city to the hut to get to the city."

    http:Q_21446978.html

     

    by: ozoPosted on 2005-06-04 at 14:01:34ID: 14146769

    Wysdom suggesed that in http:#13899949, which works assuming you have been brought via a path, and that you were allowed to see the path by which you were brought.
    Otherwise, either of my two questions would work assuming the guard must either tell the truth or lie

     

    by: WwysdomPosted on 2005-06-05 at 16:35:01ID: 14150041

    Thanks, ozo, Lunchy aannndd Caudax.

     

    by: CaudaxPosted on 2005-06-23 at 18:36:40ID: 14290458

    Hmm...

    I didn't spot that original (accepted) comment or I would've accepted it.

    20120131-EE-VQP-002

    3 Ways to Join

    30-Day Free Trial

    The Experts

    98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

    He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

    The Experts

    97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

    The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

    Testimonials

    "...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

    Testimonials

    "I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

    Testimonials

    "WOW! You guys have great, active, and knowledgeable people on here." moore50

    Business Clients

    Business Clients

    In the Press

    "If you’ve got a question... Experts Exchange can supply an answer.”

    In the Press

    "...an invaluable aid for both IT professionals and those who require tech support."

    In the Press

    "where IT professionals provide quick answers on just about any topic"

    Business Account Plans

    Loading Advertisement...