1 1 0 0 + 2 1 0 0 + 3 1 0 0 + … + 1 0 0 1 0 0
Find the last two digits of the above expression.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We note that for i , j = 0 , 1 , 2 , . . . 9 , ( 1 0 i + j ) 1 0 0 ≡ j 1 0 0 ( m o d 1 0 0 ) .
k = 1 ∑ 1 0 0 k 1 0 0 ≡ 1 0 k = 1 ∑ 1 0 k 1 0 0 ( m o d 1 0 0 )
Since a = 1 , 3 , 7 , 9 are coprimes of 1 0 , then Euler's totient theorem applies:
⇒ a ϕ ( 1 0 ) a 4 ⇒ a 1 0 0 5 1 0 0 2 1 0 0 4 1 0 0 6 1 0 0 8 1 0 0 1 0 1 0 0 ≡ 1 ( m o d 1 0 ) ≡ 1 ( m o d 1 0 ) ≡ a 4 × 2 5 ≡ 1 ( m o d 1 0 ) ≡ 5 ( m o d 1 0 ) ≡ 2 5 × 5 × 4 ≡ 3 2 5 × 4 ≡ 2 5 × 4 ≡ 2 4 ≡ 6 ( m o d 1 0 ) ≡ 2 1 0 0 × 2 ≡ 6 ( m o d 1 0 ) ≡ 2 1 0 0 3 1 0 0 ≡ 6 ( m o d 1 0 ) ≡ 2 1 0 0 × 3 ≡ 6 ( m o d 1 0 ) ≡ 0 ( m o d 1 0 )
⇒ k = 1 ∑ 1 0 0 k 1 0 0 ≡ 1 0 k = 1 ∑ 1 0 k 1 0 0 ( m o d 1 0 0 ) ≡ 1 0 ( 1 + 6 + 1 + 6 + 5 + 6 + 1 + 6 + 1 + 0 ) ( m o d 1 0 ) ≡ 3 3 0 ( m o d 1 0 ) ≡ 3 0 ( m o d 1 0 )
It is not entirely clear how you move from line 2 to line 3 of your solution. Can you clarify what you did? And why do we need two ( m o d 1 0 0 ) in the line 3?
Slight improvement: With the expression congruent to 1 0 i = 1 ∑ 9 i 1 0 0 , we can conclude that the last digit of it is 0. So we just need to work to find the last digit of i = 1 ∑ 9 i 1 0 0 thus simplify a lot of calculation.
Despite what I've said, there's still a simpler approach that is don't have much calculation. Hints: Carmichael function, Chinese Remainder Theorem, Euler totient function.
Thanks for guiding me through thoroughly. I have rewritten the solution.
Problem Loading...
Note Loading...
Set Loading...
Let X = ∑ n = 1 1 0 0 n 1 0 0 . We need to find X ( mod 1 0 0 ) , which amounts to finding X ( mod 4 ) and X ( mod 2 5 ) .
Euler-Fermat tells us that a 2 ≡ 1 ( mod 4 ) for a coprime to 4 , hence so is a 1 0 0 . If a is not coprime to 4 (i.e. even), then certainly a 1 0 0 ≡ 0 ( mod 4 ) . Hence we get X ≡ 5 0 ⋅ 0 + 5 0 ⋅ 1 ≡ 5 0 ( mod 4 ) .
Likewise, a 2 0 ≡ 1 ( mod 2 5 ) for a coprime to 2 5 , hence so is a 1 0 0 giving us X ≡ 8 0 ⋅ 1 + 2 0 ⋅ 0 ≡ 8 0 ( mod 2 5 ) .
Combining this gives us, thanks to the Chinese remainder theorem, the unique solution X ≡ 3 0 ( mod 2 5 ) and X ≡ 3 0 ( mod 4 ) , therefore X ≡ 3 0 ( mod 1 0 0 ) .