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

Home > Logic > Liars and Knights
Donuts (Posted on 2007-11-05) Difficulty: 1 of 5
Friends Tom, Dick and Harry are each either a knight, always telling the truth, or a liar, always lying. One day they went to the donut shop and bought six donuts.

Tom claimed to have gotten only one donut, while Dick claimed Tom had two. Harry said Tom had more than three.

All three agreed that Dick had two donuts.

If each of the three got at least one donut and no donuts were shared or divided, how many donuts did each friend get?

See The Solution Submitted by Charlie    
Rating: 4.0000 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 4 of 6 |

We denote the three friends Tom, Dick and Harry respectively by T, D and H. Let the respective number of donuts possessed by T, D and H be x, y and z.

We note that the three friends agreed upon the number of donuts possessed by Dick, but all three differed on the matter regarding how many donuts Tom had. This is possible only when each of T, D and H are liars. Since each of T, D and H must possess at least one donut, we observe that the three friends together had falsely stated that T either had less than three donuts or T had more than three donuts.

Therefore, T must have possessed precisely three donuts, giving x =3, so that y+z = 6-3 = 3.

However, in terms of the false agreement between the three friends that H had 2 donuts, it follows that y!= 2. Since, none of x, y and z can be zero, the only solution to y+z = 3 is (y,z) = (1,2)

Consequently,

Tom possessed three donuts
Dick possessed one donut, and:
Harry possessed two donuts.

Edited on November 6, 2007, 2:08 pm
  Posted by K Sengupta on 2007-11-06 04:07:56

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (19)
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