数学题:小王没事就用计算器计算从1加到100的结果
- 时间:2020-05-12 13:42:36
- 分类:数学世界
- 阅读:114 次
数学题:小王没事就用计算器计算从1加到100的结果,当他算到结果是3842的时候,他的爸爸说:你重复加了一个数。请问:小王重复加的是哪个数?(本题也可以说成:你少加了一个数。请问:少加了几?)题目有意思吧?你也可以做做。
数学题解答:
第一问:先看重复加的情况。先迫近3842这个和。几次尝试就可以了。
如果直接从1加到100,那么和是:(1+100)×(100÷2)=5050。
如果从1加到50,那么和是:(1+50)×(50÷2)=1275。
如果从1加到80,那么和是:(1+80)×(80÷2)=3240。
如果从1加到90,那么和是:(1+90)×(90÷2)=4095。
再从后面的数开始一个一个地减,直到接近3842且比3842小为止。
4095-90=4005,4005-89=3916,3916-88=3828。
最后用3842减去3828,算出重复加的数。3842-3828=14。
答:重复加的数是14。
第二问:“少加了一个数,少加了几?”的做法就不写出来了,感兴趣的同学可以自己试一试。
推荐阅读:Essential Traits That Will Help Bloggers Work From Home Successf Examining the Physical and Mental Health of Writers and Bloggers How will Blogging Change after the Pandemic? Digital Relationships: 5 Tips For Building A Better Veterinary B The 2020 Pandemic Further Boosts Earnings and Influence of Blogg What to Do When Your Blog Gets Too Big for You Alone Minimum Numbers of Function Calls to Make Target Array Harddrives will fail – it is just a matter of when Bruteforce/DFS/Backtracking Algorithm using Javascript to Solve DFS and BFS Algorithm to Find Numbers With Same Consecutive Diff
- 评论列表
-
- 添加评论