数学题:在AB两点之间等距离安装路灯
- 时间:2020-06-05 20:41:20
- 分类:数学世界
- 阅读:114 次
数学题:在AB两点之间等距离安装路灯,AC点长560米,在C处及AC中心点必须安装一盏路灯,CB点长630米,在CB点中心处必须安装一盏路灯,问至少安装多少路灯?(求算式)
数学题解答:由于“在C处及AC中心点必须安装一盏路灯”,所以路灯的间距必须是280米的因数,因为:
560÷2=280(米)
又由于“在CB点中心处必须安装一盏路灯”,所以路灯的间距还必须是315米的因数。因为:
630÷2=315(米)
求出280和315的最大公因数是:
280=2×2×2×5×7
315=5×7×9
最大公因数是:5×7=35
最少要装的路灯数是:(630+560)÷ 35 + 1 =34+1 = 35(盏)
这个答案是考虑AB两点首尾都装的情况。
推荐阅读: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 Linear Algorithm to Check If All 1’s Are at Least Length K Finding the Root of a Tree (Finding the Common Destination) Does WIFI Extender Boost Wireless Signal? How to Fix Slow WIFI? Bruteforce with Memoization to Count the Square Digit Chains How to Merge Two List/Iterators in Java? How to Design a First Unique Number Class with O(1)? Get Help With SQL Database Design and Development For Your Busin
- 评论列表
-
- 添加评论