数学题:在1989后面写下一串数字

  • 时间:2020-06-05 20:30:28
  • 分类:数学世界
  • 阅读:172 次

数学题:在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。

推荐阅读:
Your Blog’s Been Hacked! Here’s What You Need to Do  #DiningForBrussels: How Belgium Is Fighting Terrorism With A For  Many WordPress Site Hackings Caused To These Plugins  GoDaddy Company Now Hosts New Enterprise-Level Plans  Using Reduce to Count the Array in Javascript  Several Algorithms to Compute the Score of Parentheses  Two Pointer Algorithm to Find Maximum Two Sum Less Than K  Algorithm to Delete a Character to Make a Valid Palindrome  The Dynamic Programming Algorithm to Compute the Minimum Falling  Javascript’s toFixed Implementation without Rounding 
评论列表
添加评论