What is the last three digits of
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 N be the number given in this problem. We are required to find N m o d 1 0 0 0 . Since g cd ( 8 5 , 1 0 0 0 ) = 1 , we have consider the factors 8 and 125 separately using Chinese remainder theorem .
We note that N ≡ 0 (mod 125) ⟹ N ≡ 1 2 5 n . Now, we have:
N ⟹ 1 2 5 n n ⟹ N ≡ 8 5 8 5 a m o d ϕ ( 8 ) (mod 8) ≡ 8 5 8 5 a m o d 4 (mod 8) ≡ 8 5 1 ≡ 5 (mod 8) ≡ 5 (mod 8) ≡ 1 ≡ 1 2 5 (mod 1000) Since g cd ( 8 5 , 8 ) = 1 , Euler’s theorem applies. Euler’s totient function ϕ ( 8 ) = 4