Puzzle | Find the ages of daughters
Alok has three daughters. His friend Shyam wants to know the ages of his daughters. Alok gives him a first hint.
1. The product of their age is 72.
Shyam says this is not enough information. Alok gives him a second hint.
2. The sum of their ages is equal to my house number.
Shyam goes out and looks at the house number and says, “I still do not have enough information to determine the ages”. Alok admits that Shyam can not guess and gives him the third hint.
3. The oldest girl likes strawberry ice cream.
Shyam can guess after the third hint. Can you guess what are the ages of the three daughters?

Note: You don’t need to know the actual house number — Shyam’s reaction in the story gives enough information to figure it out.
Check if you were right - full answer with solution below.
Solution:
The main thing to note is, when we take all combinations of 3 numbers whose product is 72 and try summing them, we get same sum for two set of triplets ((2, 6, 6) and (3, 3, 8)). Since the question says, that the second hint was also not enough, we must consider these triplets. In these triplets, the second triplet has a single largest numbers. Hence our answer is 3, 3, 8.
Below is a detailed explanation.
From Hint 1: The Product of the ages is 72
Below are all 12 possibilities to get 72 from the product of three different ages:
- 1 * 1 * 72 = 72
- 1 * 2 * 36 = 72
- 1 * 3 * 24 = 72
- 1 * 4 * 18 = 72
- 1 * 6 * 12 = 72
- 1 * 8 * 9 = 72
- 2 * 2 * 18 = 72
- 2 * 3 * 12 = 72
- 2 * 4 * 9 = 72
- 2 * 6 * 6 = 72
- 3 * 3 * 8 = 72
- 3 * 4 * 6 = 72
Shyam was not able to guess the ages of daughter so, he asked for 2nd hint.From Hint 2: The Sum of the Ages Equals the House Number
The second hint tells us that the sum of the ages equals the house number. Sum of the ages is given as:
- 1 + 1 + 72 = 74
- 1 + 2 + 36 = 39
- 1 + 3 + 24 = 28
- 1 + 4 + 18 = 23
- 1 + 6 + 12 = 19
- 1 + 8 + 9 = 18
- 2 + 2 + 18 = 22
- 2 + 3 + 12 = 17
- 2 + 4 + 9 = 15
- 2 + 6 + 6 = 14
- 3 + 3 + 8 = 14
- 3 + 4 + 6 = 13
From this, we can see that the two sets of daughters have the same sum of 14:
- 2 + 6 + 6 = 14
- 3 + 3 + 8 = 14
At this point, Shyam is still unsure about the daughters’ ages, so we move to the final hint.From Hint 3: The oldest girl likes strawberry ice cream.
This hint is important because it tells Shyam there is a single eldest daughter. If there were two daughters who were the oldest, Shyam wouldn’t be able to figure out the ages, as there would be ambiguity.
- In the combination (2, 6, 6), there are two daughters who are the oldest (6 years old), so this cannot be the correct answer.
- In the combination (3, 3, 8), there is a single eldest daughter who is 8 years old.
Therefore, the only valid solution is that the daughters’ ages are 3, 3, and 8.