数学题:在1989后面写下一串数字
- 时间:2020-06-05 20:30:28
- 分类:数学世界
- 阅读:179 次
数学题:在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。
推荐阅读:5 Things Beginning Bloggers Struggle With the Most Win the “Integral” WordPress Theme from Themely 7 Habits of Highly Productive Bloggers How a Business Owner Builds Relationships With Influential Blogg 5 Promising Tools to Help Boost Your Online Startup How to For-Loop and do Math/Arithmetic Operations in Windows/NT How to Find the Closest Sum of Three in an Array using Two Point The Lazy Singleton Design Pattern in Java How to Find out the Most Frequent Subtree Sum using Depth First A Microsoft Coding Interview Screening for Position Principal So
- 评论列表
-
- 添加评论