三女归家问题——出处《孙子算经》
- 时间:2020-04-03 19:50:42
- 分类:数学世界
- 阅读:225 次
“今有三女,长女五日一归,中女四日一归,少女三日一归。问三女何日相会?”
这道题也是我国古代名著《孙子算经》中为计算最小公倍数而设计的题目。意思是:一家有三个女儿都已出嫁。大女儿五天回一次娘家,二女儿四天回一次娘家,小女儿三天回一次娘家。三个女儿从娘家同一天走后,至少再隔多少天三人再次相会?
要注意的是:三个女儿从娘家同一天走后,再隔多少天相会。如果不是同时离娘家这天算起,那题目可就有些麻烦了,有兴趣的同学可以自己试下。
这道题在学习了“最小公倍数”知识后,可以很轻松地予以解决,因为求三女再次相会于娘家的间隔天数,其实就是求3、4、5的公有的倍数,而“至少”一词则限定需求最小公倍数。
3×4×5=60(天)
答:三女在相隔60天后再次在娘家相会。
推荐阅读:Man Steals ‘Six Figures’ Worth Of Bitcoins From Dark Web Users The Git Pre-Commit Hook to Avoid Pushing Only Unit Tests In Node How to Find the Most Common Word in a String with a Banned List? How to Construct Minimum Spanning Tree using Kruskal or Breadth Two Pointer and Sliding Window Algorithm to Find K-Length Substr How to Get the Maximum Level Sum of a Binary Tree using Breadth Compute the Minimum Costs to Connect the Sticks using Priority Q Single-Row Keyboard Algorithms to Estimate the Finger Moving Tim Bruteforce Algorithm to Find the Next Closet Time Reusing the Cu The Overlapping Rectangles using CSS and Javascript
- 评论列表
-
- 添加评论