返回题库

AIME 2017 I · 第 3 题

AIME 2017 I — Problem 3

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem 3

For a positive integer nn, let dnd_n be the units digit of 1+2++n1 + 2 + \dots + n. Find the remainder when

n=12017dn\sum_{n=1}^{2017} d_n is divided by 10001000.

解析

Solution

We see that dnd_n appears in cycles of 2020 and the cycles are

1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0,0,1,3,6,0,5,1,8,6,5,5,6,8,1,5,0,6,3,1,0,0, adding a total of 7070 each cycle. Since 201720=100\left\lfloor\frac{2017}{20}\right\rfloor=100, we know that by 20172017, there have been 100100 cycles and 70007000 has been added. This can be discarded as we're just looking for the last three digits. Adding up the first 1717 of the cycle of 2020, we can see that the answer is 069\boxed{069}.

~ Maths_Is_Hard

Video Solution

https://youtu.be/BiiKzctXDJg ~ Shrea S