数学题:在1989后面写下一串数字
- 时间:2020-06-05 20:30:28
- 分类:数学世界
- 阅读:137 次
数学题:在1989后面写下一串数字,写下的每一个数字都是它前面;两个数字的乘积的个位数字。例如8×9=72,在9的后面写2;9×2=18,在2的后面写8……如果一直这样操作下去,可以得到一串数字:19892868842……。这串数字从1开始往右数,第2003个数字是几?这2003个数字的和是多少?有木有会做的?
数学题解答:先继续往后写向个数字,会发现有循环现象。286884循环,前面有4个数不是周期内的。
所以第2003个数字是:(2003-4)÷6=333……1,循环的数字中第一个是2,所以第2003个数字是2。
这2003个数字的和是:(2+8+6+8+8+4)×333 + 2 + (1+9+8+9) = 12017。
推荐阅读:How to Check If Four Points can Make a Valid Square (C++ and Jav Python: Understanding the Importance of EigenValues and EigenVec How to Compute Kth Largest Element in a Stream? How to Flip Equivalent Binary Trees? How to Implement Quicksort Algorithm in Python – the Pytho How to Compute the Clumsy Factorials using Iterative Algorithm? How to Convert Float Number (Fraction) to Hexadecimal in Python? 4 Tips You Shouldn’t Miss While Creating Your Ideal Websit SQL Algorithm to Compute Shortest Distance in a Plane How to Count Univalue Subtrees in a Binary Tree?
- 评论列表
-
- 添加评论