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.
Relevant wiki: Euler's Theorem
Let the sum be S . We need to find S m o d 1 0 0 0 . By binomial theorem, we have S ≡ n = 0 ∑ 2 0 1 8 ( n 2 0 1 8 ) ≡ 2 2 0 1 8 (mod 1000) . Since g cd ( 2 , 1 0 0 0 ) = 1 , we have to consider the factors 2 3 = 8 and 5 3 = 1 2 5 of 1000 separately using Chinese remainder theorem.
Factor 8 : S ≡ 2 3 0 2 8 ≡ 0 (mod 8)
Factor 125 :
S ≡ 2 2 0 1 8 m o d λ ( 1 0 0 0 ) (mod 125) ≡ 2 2 0 1 8 m o d 1 0 0 (mod 125) ≡ 2 1 8 (mod 125) ≡ 2 2 × 7 + 4 (mod 125) ≡ ( 1 2 8 2 ) ( 1 6 ) (mod 125) ≡ ( 3 2 ) ( 1 6 ) (mod 125) ≡ 1 4 4 (mod 125) Since g cd ( 2 , 1 2 5 ) = 1 , Euler’s theorem applies. Carmichael lambda λ ( 1 0 0 0 ) = 1 0 0
Since 1 4 4 ≡ 0 (mod 8) , S ≡ 1 4 4 (mod 1000) .