Who owns the fish?

3rdside

Hall of Famer
Joined
Nov 4, 2002
Posts
1,531
Reaction score
202
Location
London, UK
I know this isn't basketball related but I had fun doing it and it's boring as hell round here so here you go:



in a street there are 5 different houses painted 5 different colors.
in each house lives a person of a different nationality.
the 5 homeowners each drink a different beverage, smokes a different brand of cigarettes and keeps a different pet.

> > > the question: WHO OWNS THE FISH?
> > >
> > > CLUES:
> > >
> > > 1. The Brit lives in a red house
> > > 2. The Swede has a dog
> > > 3. The Dane drinks tea
> > > 4. The Green house is on the left of the White house
> > > 5. The owner of the Green house drinks coffee
> > > 6. The person who smokes Pall Mall has birds
> > > 7. The owner of the Yellow house smokes Dunhill's
> > > 8. The man living in the center house drinks milk
> > > 9. The Norwegian lives in the first house
> > > 10. The man who smokes Blends lives next door to the one who has cats
> > > 11. The man who has horses lives next to the one who smokes Dunhill's
> > > 12. The man who smokes Blue Master drinks beer
> > > 13. The German smokes Prince
> > > 14. The Norwegian lives next to the Blue house
> > > 15. The man who smokes Blends has a neighbor who drinks water
> > >
> > >
> > > ALBERT EINSTEIN WROTE THIS RIDDLE IN THE EARLY TWENTIETH CENTURY.
> > > HE SAID THAT 98% OF THE POPULATION WOULD NOT BE ABLE TO SOLVE IT.
 

elindholm

edited for content
Joined
Sep 14, 2002
Posts
27,681
Reaction score
10,108
Location
L.A. area
It is very, very unlikely that Einstein wrote this riddle. He had minimal interest in mechancial calculations and wasn't even very good at them.
 

jbeecham

ASFN Addict
Joined
Sep 12, 2002
Posts
6,250
Reaction score
583
Location
Phoenix, AZ
I felt like I was playing Clue.........I also came up with the German.
I can go through my reasoning, but I don't want to spoil it for anyone else still doing it.
 

Errntknght

Registered User
Joined
Sep 24, 2002
Posts
6,342
Reaction score
319
Location
Phoenix
Hmmmm... I came up with the Norwegian. I can't tell you what my logic was as I wrote a general program to solve logic puzzles - seemed like a fun way to do it. I do know that the program couldn't derive the answer directly from the information. It triied every possible assignment of pets and the only one that didn't contradict one of the bits of information given was when the Norwegian owned the 'fish'. Of course, this is the first puzzle I tried the program on so it's entirely possible that I have a bug or two in the thing. And I may have made a mistake typing the data in.

Some minor notes on the problem. It isn't stated that the five houses are contiguous but it would be a much harder puzzle if one allowed for the other possibility. It also wasn't stated whether the first house was on the left or right - which appears to make a difference since one tidbit uses the condition of being on the left. But I tried it both ways and it didn't impact the answer. It also didn't rule out the possibility that the street was a circle and the houses formed a complete circle... and that might have been critical - at least the way I solved it.

And I agree that Einstein was almost certainly not the author of this puzzle...
 
Last edited:
OP
OP
3rdside

3rdside

Hall of Famer
Joined
Nov 4, 2002
Posts
1,531
Reaction score
202
Location
London, UK
It is very, very unlikely that Einstein wrote this riddle. He had minimal interest in mechancial calculations and wasn't even very good at them.

not that i wrote that (just cut and pasting an email sent to me) but is that a mechanical calculation? I thought a mechanical calculation might involve numbers of some sort. It seems more like logic/reasoning to me. :confused:
 

zett

Hall of Famer
Joined
Oct 23, 2002
Posts
1,249
Reaction score
213
Location
Redding, CA.
The Dane is the one without an Animal, Is it A fish?

House 1 is the norwegian lives in a green house and smokes Pallmall's drinks coffee and has birds.

House 2 is the german, He lives in a Blue house and smokes prince, Drinks water & has Horse's. (The water clue just said neighbor, not next store neighbor.)

House 3 is the swede, He's in a yellow house, smokes Dunhills, drink's milk and has a Dog.

House 4 is the Dane, He lives in a white house smokes blends and drinks Tea with the FISH! I assume.

House 5 is the brits, He has a red house smokes bluemaster, drinks beer and has cats.:D all it took was a pen and 4 peices of paper lol.
 

Errntknght

Registered User
Joined
Sep 24, 2002
Posts
6,342
Reaction score
319
Location
Phoenix
Uhhh Zett, if neighbor doesn't mean next door neighbor then it doesn't mean anything in this puzzle because they are all neighbors in the sense of all living in the same neighborhood.

Anyway, I found I had entered some data incorrectly and with that fixed the program got the same answer most everyone did - the German has fish.

I tried the puzzle with the 4th condition stating that the green house was 'next door' to the the white house (insted of 'on the left') and answer still came out that the German had fish but there were two solutions which had the order of the white and green houses interchanged.

The way the program solved the puzzle was to try every possible ordering of the house colors since the condition on the green-white houses eliminated most of them immediately. There was only one of those orderings that was not ruled out rather soon, if I recall the printout correctly. It still couldn't deduce the answer from that - it's deduction capability being fairly weak - so it had to try all possible assignments of another category. It didn't seem to matter which category was tried second and the answers were all the same - they should be, of course, if the program is working properly and there is only one solution.
 
Last edited:

zett

Hall of Famer
Joined
Oct 23, 2002
Posts
1,249
Reaction score
213
Location
Redding, CA.
thats exactly my point, all are nieghbors so that clue was worthless, if you look at what I wrote all the clues fit! The Dane should be the corect answer.
 

Errntknght

Registered User
Joined
Sep 24, 2002
Posts
6,342
Reaction score
319
Location
Phoenix
If all the clues about neighbors are meaningless then I'm not surprised that the Dane being the owner of the fish is consistent with the other clues. But that doesn't mean that the answer is the Dane because the German being the owner of the fish is also consistent with the other clues. So if neighbor is meaningless then the puzzle does not have A solution, as we normally understand the term.

Assuming the author came up with a puzzle he thought was solvable or assuming he meant the 'neighbor' clues to be meaningful both lead to the same conclusion - he was using the word 'neighbor' to mean 'next-door neighbor'. Now if no one could solve some other puzzle assuming the author meant 'neighbor' to mean a 'next-door neighbor' but it could be solved assuming it meant a person living in the same neighborhood, then you'd be forced to take that meaning. Such nits are there to pick most all the time in puzzles.

If anyone likes hard puzzles, here's one for you:

While three mathematicians were chatting Mr. X handed Mr Y and Mr. Z a piece of paper with a number written on each and enjoined them not to show each other their number. Then he said he'd thought of two numbers, bgger than 1 and less than 50, and added those two numbers together and put the result on Mr. Y's slip of paper and then he'd multiplied the two numbers together and put the result of that on Mr. Z's paper.
After a minute Mr. Y said, "Naturally I can't figure out the two original numbers but I know that Mr. Z can't firgure out the two original numbers either."
After a couple of minutes Mr. Z said, "I've figured out the two original numbers."
Mr Y thought a minute more and said, "I have figured them out, too!"
What are the two numbers?

[The problem depends on math we learned in elementary grades about factoring whole numbers. You know, stuff like 14 factors into 2X7; 12 factors into 6X2 or into 4X3, or into 2X2X3; 7 and 11 don't factor at all. Et cetera...]
 
Last edited:

elindholm

edited for content
Joined
Sep 14, 2002
Posts
27,681
Reaction score
10,108
Location
L.A. area
You didn't specify the numbers were integers. :p

Are the numbers on the slips of paper also required to be less than 50?
 

elindholm

edited for content
Joined
Sep 14, 2002
Posts
27,681
Reaction score
10,108
Location
L.A. area
spoiler

It's a little difficult to take the puzzle at face value, because we have to guess at how intelligent Mr. Y is. He makes a statement about Mr. Z's deductive powers that is proved to be false, and yet we must assume that Y's statement had some logical motivation, else the puzzle makes no sense. What Y’s statement really means is, “Z cannot figure out what the numbers are, unless I give him a hint, which I inadvertently just did”

Thus we are supposed to deduce the following:

Y's statement provides Z with critical information that he needs in order to figure out the numbers. Which part of Y's statement provides any information?

"I can't figure out the numbers from the sum." All this tells us is that the sum is not 4 or 5. For any other sum, multiple solutions exist.

"Z can't figure out the numbers from the product." This tells us that the product does not have a unique factorization. If the product were something like 34, Z would be able to figure out that the numbers must be 2 and 17, without any input from Y. The same is true of any product of two primes.

Thus the second part of Y's statement tells us that none of the possible number-pair-candidates yielding his sum consists of two primes. If this were not true, he would have to consider the possibility that the two numbers were two primes, in which case he could not state confidence that Z would be unable to figure out his numbers.

Since Y's statement gives Z a necessary clue, it follows that Z has a product for which one possible factorization is consistent with Y's statement, while at least one other possible factorization is not consistent with Y's statement. Specifically, Z's product implies at least one possible number-pair-candidate for which Y's statement would be false -- a number-pair-candidate producing a sum that would have among its solutions a pair of prime numbers.

Some guided trial and error with these conditions in mind yields an excellent candidate for the sum, 11. This is because it yields several possible number-pair-candidates which all involve at least one composite (non-prime) number. These pairs are 2 + 9, 3 + 8, 4 + 7, and 5 + 6.

Now we consider each possible product in turn. If the numbers are 2 and 9, the product is 18. If Z sees 18 on his paper, he knows it can be made by either 2 x 9 or 3 x 6. Does Y's statement further inform him? Yes, because he can now rule out 3 and 6 as a possibility. If the numbers were 3 and 6, the sum would be 9, but a sum of 9 would not permit Y to make his original statement, because of the possibility of 2 and 7. So 2 and 9 is a candidate solution.

How about 3 and 8, making 24? If Z is looking at 24, Y’s statement is again helpful. 24 could also mean that the numbers are 2 and 12, or 4 and 6. If they are 2 and 12, the sum is 14, which would not have permitted Y to make his original statement (3 and 11). So 2 and 12 are out. How about 4 and 6? Similarly, the sum is 10, which would have kept Y silent (3 and 7). So 3 and 8 is also a candidate solution.

Unfortunately, we are now forced to abandon 11 as a possible sum. We can see that Z might be able to deduce his numbers in these scenarios, but Y won’t be able to deduce his, because there are multiple consistent possibilities.

The next candidate sum is 17, for which the possibilities are 2 + 15, 3 + 14, 4 + 13, 5 + 12, 6 + 11, 7 + 10, and 8 + 9. Note that none of these is a pair of primes.

I can’t come up with a better system than examining each possibility in turn. We’re looking for a pair of numbers that results in a product for which there is exactly one corresponding number-pair-candidate that is consistent with Y’s statement.

2 and 15. The product is 30. This wouldn’t help Z, because 30 can also be produced by 5 and 6, which (see above) is another pair of numbers Y might theoretically hold. Since Z can’t narrow down the possibilities any further, the combination of 2 and 15 is out.

3 and 14. The product is 42, which can also be produced by 2 x 21 or 4 x 11. For 2 and 21, the sum is 23, which is another candidate sum for Y, since it cannot be expressed as the sum of two primes. So this also doesn’t give Z enough to go on, and the combination of 3 and 14 is out.

4 and 13. The product is 52, which is also 2 x 26. A sum of 28 would not work for Y, because of the possibility of 5 and 23. There are no other alternatives. So 4 and 13 is a possible solution, since it is the only factorization of 52 consistent with Y’s statement.

5 and 12. The product is 60, which can be made many ways. For 3 x 20, the sum is 23, which would be consistent with Y’s statement. Again we are not able to make a deduction, so the combination of 5 and 12 is out.

6 and 11. The product is 66, which is also 3 x 22 or 2 x 33. For 3 x 22, the sum is 25, which can be expressed as 2 + 23. So the sum cannot be 25. But for 2 x 33, the sum is 35, which cannot be expressed as the sum of two primes. 6 and 11 is out.

7 and 10. The product is 70. For 2 x 35, the sum is 37, which cannot be expressed as the sum of two primes and thus would be consistent with Y’s statement. 7 and 10 is out.

8 and 9. The product of 72 could also be expressed as 3 x 24, for a sum of 27. 27 cannot be expressed as the sum of two primes, so 8 and 9 is out.

For a sum of 17, there is only one number-pair-candidate that would produce a product that would allow Z to work backward and figure out the numbers, and that is 4 and 13. Z sees 52 on his paper, and knows that the possibilities are 4 x 13 or 2 x 26. He reasons that the numbers cannot be 2 and 26, because this would give a sum of 28, and if the sum were 28, Y would have to be wary of the possibility of 5 + 23.

Now it’s Y’s turn. He realizes what Z is up to, and runs through all of the analysis above. Since he is familiar with Goldbach’s conjecture – which unfortunately this author forgot about until deep into the solution, D'OH! – his process of elimination is rather more efficient. Only one pair of numbers would enable Z to reach his conclusion based on Y's hint.

The numbers are 4 and 13.

And in conclusion, Errntknght, I will get you back for this. I'm not sure how, but you can count on it.
 

Errntknght

Registered User
Joined
Sep 24, 2002
Posts
6,342
Reaction score
319
Location
Phoenix
Hehehehehe.... I gave fair warning, I said it was a hard puzzle! (Actually, the original form was harder as the condition about the original numbers being less than 50 was omitted... which made the puzzle insolvable as there are at least 36 pairs of numbers that meet the other conditions. When I told the orignator of the puzzle about that little problem, he said he'd only checked the numbers up to fifty or so and when he found no more solutions, he assumed there weren't any... the second smallest solution has 64 as one of the numbers if my memory is correct.)

Sorry for not stating the numbers were integers (whole numbers) but, at least, my hint about factorizations indicated as much.

Anyway, Eric, congratulations on solving the puzzle. I have some other ones of comparable difficulty that I made up if you're interested. How about a 'hat puzzle'? Two or three hats, two colors... how hard could they be?
 

zett

Hall of Famer
Joined
Oct 23, 2002
Posts
1,249
Reaction score
213
Location
Redding, CA.
Originally posted by Errntknght
If all the clues about neighbors are meaningless then I'm not surprised that the Dane being the owner of the fish is consistent with the other clues. But that doesn't mean that the answer is the Dane because the German being the owner of the fish is also consistent with the other clues. So if neighbor is meaningless then the puzzle does not have A solution, as we normally understand the term.

Assuming the author came up with a puzzle he thought was solvable or assuming he meant the 'neighbor' clues to be meaningful both lead to the same conclusion - he was using the word 'neighbor' to mean 'next-door neighbor'. Now if no one could solve some other puzzle assuming the author meant 'neighbor' to mean a 'next-door neighbor' but it could be solved assuming it meant a person living in the same neighborhood, then you'd be forced to take that meaning. Such nits are there to pick most all the time in puzzles.

All the clues were specific like lives next too or next store neighbor, Except the water clue . That seems to be the only worthless clue that I can see. Maybe I am being nitpicky? But that is how I took it.:confused: :confused:
 

Errntknght

Registered User
Joined
Sep 24, 2002
Posts
6,342
Reaction score
319
Location
Phoenix
Zett, you were quite right about the wording of 'neighbor' being used unmodified only in condition #15... I shoulda checked before I opened my mouth. What neither of us mentioned was that you interpreted #4 to mean that the Green house is somewhere to the left of the White house and that is where I should have objected.

Interestingly enough, #15 is not needed to solve the puzzle except to name the fifth drink as 'water, so it doesn't matter how you interpret it. I left it out altogether and the program got the entire solution except that Water wasn't named - just drink 5.

In your purported solution you have the Green house on the left of the Blue house while condition #4 says it is on the left of the White house. If #4 had said 'Green is TO the left of White' or 'Green is left of White' then I agree the author might mean 'Green somewhere to the left side of White' but the way it's phrased it means immediately to the left of White... well, since it's English it's almost certain. If you interpret #4 the way you did there is not a well defined solution as either the German or the Dane may have the fish. Interpreting it to mean immediately to the left makes the puzzle solvable - and the German has the fish. With puzzles you have to take the alternative which allows you to solve it when the author is not as clear as he might have been.
 

cardsunsfan

ASFN Lifer
Joined
Apr 25, 2003
Posts
4,735
Reaction score
162
Location
Arizona
yup pretty easy puzzle. I don't think Einstein wrote it and what the hell does 98% of people couldn't choose the right answer. mean?!..most of us got it and even if we guessed we would have a %20 chance!
 
Last edited by a moderator:
OP
OP
3rdside

3rdside

Hall of Famer
Joined
Nov 4, 2002
Posts
1,531
Reaction score
202
Location
London, UK
Does anyone no what the 98% won't get the right answer mean?

yup - absolutley nothing. It makes no sense as you have clearly pointed out.
 

Staff online

Forum statistics

Threads
559,233
Posts
5,462,152
Members
6,337
Latest member
rattle
Top