趣味的数学-41
小数
x = 0.123456789101112 ... 998999,
是在小数点后按照正整数的顺序依次写入1到999来得到的。
请找出小数点后面的第1983位的数字。
【转引自Titu Andreescu等编著的102 Combinatorial Problems 第5题】
"Therefore, answer is 7."
That's RIGHT!
Math
M=
k, (k<10)
(k-9)x2 + 9, (10<=k<=99)
(k-99)x3 + 189 (100 <=k<=999)
Where, k= the natural number required to produce a decimal number with M digits.For example, M=1983, then k=697 (mod 0). Therefore, answer is 7.
算出是几?
M=k, (k<10)
=(k-9x1)x2, (10<=k<=99)
= (k-(99-9x1)x2)x3 , if (100 <=k<=999)
....