create new account | forgot password

Yay it's a challenge question
posted by rick on October 30th, 2007 at 9:34PM

Adam and Bob are having a conversation:

Adam> I've had three kids since we last met!
Bob> Congratulations! How old are they?
Adam> I'll give you a hint: The product of their ages is 36.
Bob> I'm going to need another hint, buddy.
Adam> Alright ... the sum of their ages is the same as the number of trees in that garden.

*Bob looks over to said garden, counts the number of trees*

Bob> I'm going to need another hint ...
Adam> Well, my /oldest/ son plays the trumpet ...
Bob> AHH ... I know how old they are.

How old are Adam's three kids?
Link


 
 

posted by dsk on November 3rd, 2007 at 11:43PM

Got it.

It seems like this is from the (famed) Microsoft Interview Questions.

If I ever get asked something like that during an interview, I'll tell them to fuck-off and ask if the position is for solving cross-world puzzles.

I know!
posted by Driusan on November 1st, 2007 at 9:01PM

2 2 and 9!

posted by dennisn on November 1st, 2007 at 9:49PM

Sure.. after I did all the grunt work.

posted by Nylorac on November 1st, 2007 at 11:52PM

Well, there's little to be said for the workhorse.   Sorry.

posted by dennisn on October 31st, 2007 at 10:19AM

A few clarifying assumptions: (1) the ages and number of trees can't be fractional (ie. half cut trees). (2) you're sure you didn't omit any information. Oh. I don't know; like the number of trees in the garden.

In which case, I can think of eight solutions. They are as follows:

(1) The oldest kid is 36. The other two are one-year-old twins. There are 38 trees in the garden, and the 36yo plays trumpet.

(2) The oldest kid is 18. The other two are one and two years old. There are 21 trees in the garden, and the 18yo plays trumpet.

...

In more concise notation, their ages can be:
1 1 36
1 2 18
1 3 12
1 4 9
1 6 6
2 2 9
2 3 6
3 3 4

Including practical factors like the unlikelihood of twins, the limited space in a garden for trees, the childbearing years of the father, and the competency of youth to play instruments, their ages are most likely 1, 4 and 9.

posted by rick on October 31st, 2007 at 1:15PM

1) No, the ages are not fractional.
2) Yes, I did not tell you the number of trees.

The only clarification I can think of is that at the end Adam should have said "my oldest /kid/" rather than "my oldest /son/". Even then, that part of the hint might still be confusing and/or misleading.

There's something about the second hint that you missed.

posted by dennisn on October 31st, 2007 at 3:57PM

Trees can grow in gardens. I hope it's not that. Moreover, the fact that he is able to actually count implies that they do exist.

posted by rick on October 31st, 2007 at 5:34PM

There are no limitations for the number of trees. I could have been a park.

Keep in mind that although /we/ don't know the number of trees, Adam and Bob /do/ know.

Sigh. I should have suspected by dennisn on October 31st, 2007 at 8:18PM.
Correct. :) I still think the by rick on October 31st, 2007 at 8:50PM.
Heh .. yea :). Don't you guys by dennisn on October 31st, 2007 at 9:38PM.
This was sent to an email list by rick on November 1st, 2007 at 8:01PM.
What do they (the mailing list by dennisn on November 1st, 2007 at 9:38PM.
The email thread started with by rick on November 2nd, 2007 at 3:14AM.
I wonder why students have gro by Nylorac on November 2nd, 2007 at 4:53PM.
Don't know what was the motiva by rick on November 4th, 2007 at 1:44AM.
The problem is with "public" e by dennisn on November 3rd, 2007 at 7:36PM.
Although I firmly agree that t by Nylorac on November 4th, 2007 at 9:10AM.
I believe it has been statisti by dennisn on November 4th, 2007 at 10:43PM.
>I believe it has been statist by dsk on November 5th, 2007 at 9:39AM.
I sortof agree -- insofar as a by dennisn on November 5th, 2007 at 10:51AM.
Well, I meant to suggest an un by Nylorac on November 5th, 2007 at 3:09PM.
>(P.S. -- "all stats aside" is by dsk on November 5th, 2007 at 10:59AM.
Touché. by dennisn on November 5th, 2007 at 10:25AM.
All stats aside, if we were to by Nylorac on November 5th, 2007 at 10:00AM.
Yeah, that sounds familiar. I by Nylorac on November 5th, 2007 at 8:34AM.
Or teachers don't get paid ver by rick on November 4th, 2007 at 1:54AM.
asf by dsk on November 4th, 2007 at 9:49AM.