三女归家问题——出处《孙子算经》
- 时间:2020-04-03 19:50:42
- 分类:数学世界
- 阅读:146 次
“今有三女,长女五日一归,中女四日一归,少女三日一归。问三女何日相会?”
这道题也是我国古代名著《孙子算经》中为计算最小公倍数而设计的题目。意思是:一家有三个女儿都已出嫁。大女儿五天回一次娘家,二女儿四天回一次娘家,小女儿三天回一次娘家。三个女儿从娘家同一天走后,至少再隔多少天三人再次相会?
要注意的是:三个女儿从娘家同一天走后,再隔多少天相会。如果不是同时离娘家这天算起,那题目可就有些麻烦了,有兴趣的同学可以自己试下。
这道题在学习了“最小公倍数”知识后,可以很轻松地予以解决,因为求三女再次相会于娘家的间隔天数,其实就是求3、4、5的公有的倍数,而“至少”一词则限定需求最小公倍数。
3×4×5=60(天)
答:三女在相隔60天后再次在娘家相会。
推荐阅读:3 Reasons Why Graphic Designers Need to Self-Promote through Ins How to Split a String in C++? The Best Instagram Feed WordPress Plugins to Use Trie Class Data Structure in Python How to Monitor the CPU Temperature of Raspberry PI using Python Listen to what an SEO expert has to say about its benefits Depth First Search Algorithm to Compute the Smallest String Star Algorithm to Check if All Points are On the Same Line Prefix Sum Algorithm to Count Number of Nice Subarrays How to Append Another List to a Existing List in Python? (Differ
- 评论列表
-
- 添加评论