|
-
Jun 19th, 2001, 02:26 PM
#1
Thread Starter
Hyperactive Member
Guv, Lior & kedaman - An Amazing Puzzle
Once upon a time, a salesman approached an old lady in order to sell her children some goods. He asked how many children she had and how old they were.
The old lady replied that she had 3 children. She told him the product of their ages was 36 and that the sum of their ages was on the nextdoor house.
So, the salesman jumped over the fence and looked at the number on the nextdoor house. He returned to the old lady and told her he could not complete the problem without more information.
The old lady consented to give him one more item of data. She said 'The eldest child plays the piano'.
Your problem: what are the ages of the 3 children?
I promise this problem is completely soluble! Just to clarify: you don't get told the number on the nextdoor house!
Best of luck...
There are 10 types of people in the world - those that understand binary, and those that don't.
-
Jun 19th, 2001, 06:07 PM
#2
Lively Member
Wasn't this question asked before? It is simple enough when you work out the combinations.
-
Jun 19th, 2001, 10:15 PM
#3
Frenzied Member
Illuminator is correct. I counted 8 possibilies for the ages, including 1, 1, & 36 which is obviously not correct.
If you check them all, it does become obvious.
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.
-
Jun 20th, 2001, 05:49 AM
#4
Thread Starter
Hyperactive Member
ok, ok. guv, you probably have the correct answer. for everyone else, here is how you begin to go about it:
1)Split 36 into prime factors: 2,2,3,3
2)Also use 1 as a factor so 1,2,2,3,3
3)Use these to get combinations.
1,1,36
1,2,18
1,3,12
1,4,9
1,6,6
2,2,9
2,3,6
3,3,4
4)Now can you finish it off?
There are 10 types of people in the world - those that understand binary, and those that don't.
-
Jun 21st, 2001, 06:35 AM
#5
transcendental analytic
1+1+36=38
1+2+18=21
1+3+12=16
1+4+9=14
1+6+6=13 <- A
2+2+9=13 <- B
2+3+6=11
3+3+4=10
If the sum is 13, then there's still not enough info, and since the eldest child
has to be older than the others, it's the B alternative.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 21st, 2001, 08:14 AM
#6
Thread Starter
Hyperactive Member
There are 10 types of people in the world - those that understand binary, and those that don't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|