What are the ages of her children

本文通过一个关于邻居孩子年龄的谜题,展示了如何利用有限的信息进行逻辑推理来确定三个孩子的具体年龄。故事中,主人公Tom通过与邻居Christina的对话逐步获取线索,最终解决了这个有趣的数学谜题。

Question

 

                Tom meets a new neighbor, Christina, next door to him.

 

During the conversation with Christina, Tom asks her, “How many kids do you have?”.

“Three”, replied Christina.

Tom asked, “How old are they?”

 

                Christina answered: “The product of their ages is 36. The sum of their ages are the same as my house number.”.

                After some time, Tom replied, “I cannot figure it out, I don’t have enough information.”.

                “My apologies, I forgot to tell you that my youngest child likes strawberry milk.”, replied Christina.          

 

                Tom figured out their ages after her answer and Christina confirmed he was right.

 

                What are the ages of her children?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Below is the answer:

 

Below is the combination for the product of 36 and their sums:

  • 1 x 2 x 18; 1 + 2 + 18 = 21
  • 1 x 3 x 12; 1 + 3 + 12 = 16
  • 1 x 4 x 9; 1 + 4 + 9 = 14
  • 1 x 6 x 6; 1 + 6 + 6 = 13
  • 2 x 2 x 9; 2 + 2 + 9 = 13
  • 2 x 3 x 6; 2 + 3 + 6 = 11
  • 3 x 3 x 4; 3 + 3 + 4 = 10

 

Since Tom cannot determine the answer initially, it means at least 2 combinations will arrive at the same sum (which is the house number).

From the above, only (1+6+6) and (2+2+9) will arrive at the same sum of 13.

 

Christina last statement is that she has a youngest child, so it should be (1+6+6).

转载于:https://www.cnblogs.com/ganting/p/4500494.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值