All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic > Liars and Knights
Burger Buddies (Posted on 2003-11-27) Difficulty: 3 of 5
Three people decide to go out for burgers. They are either Knights, which always tell the truth, Knaves, which tell truths and lies in an alternating pattern, or Liars, which always tell lies.

They each want a burger, and want to get 4 toppings from the list of 7 (ketchup, mustard, onions, relish, tomato, cheese, lettuce) and give their order as follows:

A: I want ketchup, mustard, onions, lettuce, relish.

B: A wants tomato too, and he doesn't want mustard. I want ketchup, tomato, cheese, lettuce.

C: B doesn't want ketchup, and he doesn't want mustard. A doesn't want relish. I want mustard, tomato, cheese, lettuce.

After giving the orders to the burger cooker, he figures out what they want.(as anyone who can cook well must be really intelligent)

If all three people didn't all want a certain topping, what do the three people actually want as their four toppings on their burger?

(Note: I placed commas and periods to remind that each item/statement separated by commas is a separate statement.)

  Submitted by Gamer    
Rating: 4.2000 (10 votes)
Solution: (Hide)
Because all three people are either Knights, Knaves, or Liars, every other statement has equal logical equivalence. In other words, every other statement is true or false. This means the statements can be broken up into two groups.

A: ketchup, onions, relish
A: mustard, lettuce

B: A-ketchup, ketchup, cheese
B: A-not-mustard, tomato, lettuce

C: B-not-ketchup, A-not-relish, tomato, lettuce
C: B-not-mustard, mustard, cheese

Assume A's second series is true. Then A's first series must be false (or he would have 5 toppings which isn't allowed), Then B's second series must be false because A wanted mustard, and B's first series must be false because A didn't want ketchup. This leaves B with less than 4 ingredients, and so A's second series must be false.

This means A's first series is true and his second series is false. This means both B's series are true, and C's first series is false and second series is true.

= k m o r t c l
A + - + + ? ? -
B + ? ? ? + + +
C ? + ? ? - + -


Because not all three wanted a certain topping, we can see C didn't want ketchup and A didn't want cheese. So:

A wants ketchup onion relish tomato
B wants ketchup tomato cheese lettuce
C wants mustard onion relish cheese

Comments: ( You must be logged in to post comments.)
  Subject Author Date
No SubjectJamesYawn2023-10-06 12:34:27
answer to the problemK Sengupta2007-05-12 13:35:02
solutionDevon2003-12-01 01:34:30
re: Please help me here....SilverKnight2003-11-30 03:53:15
Please help me here....Scott2003-11-30 03:40:13
re(4): Change:Gamer2003-11-28 20:23:17
re(3): Change:Penny2003-11-28 20:08:45
re(2): Change:Charlie2003-11-28 19:42:26
Hints/Tipsre: Change:Penny2003-11-28 18:46:44
Change:Gamer2003-11-28 11:11:34
Is that for here or to go?Penny2003-11-28 06:43:02
SolutionThis is more like itPenny2003-11-28 02:32:32
Solutionre: A consistent set--confirmation -- 3 SolutionsCharlie2003-11-28 01:39:27
Some ThoughtsA consistent setCharlie2003-11-28 00:47:02
re: solutionPenny2003-11-28 00:14:23
solutionVictor Zapana2003-11-27 23:23:30
thoughtsVictor Zapana2003-11-27 23:16:24
re: SolutionPenny2003-11-27 15:07:33
SolutionPenny2003-11-27 14:52:48
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information