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 = 2 2 0 1 8 − 2 0 . We need to find N m o d 2 0 1 8 . Since g cd ( 2 , 2 0 , 2 0 1 8 ) = 1 , we have to consider the prime factors 2 and 1009 of 2018 separately using the Chinese remainder theorem .
Consider factor 2: 2 2 0 1 8 − 2 0 ≡ 0 (mod 2)
Consider factor 1009:
N ≡ 2 2 0 1 8 m o d ϕ ( 1 0 0 9 ) − 2 0 (mod 1009) ≡ 2 2 0 1 8 m o d 1 0 0 8 − 2 0 (mod 1009) ≡ 2 2 − 2 0 (mod 1009) ≡ − 1 6 (mod 1009) ≡ 9 9 3 (mod 1009) Since g cd ( 2 , 1 0 0 9 ) = 1 , Euler’s theorem applies. Euler’s totient function ϕ ( 1 0 0 9 ) = 1 0 0 8
This implies that:
N ⟹ 1 0 0 9 n + 9 9 3 n + 1 ⟹ n ⟹ N ≡ 1 0 0 9 n + 9 9 3 ≡ 0 (mod 2) ≡ 0 (mod 2) ≡ − 1 ≡ 1 0 0 9 ( − 1 ) + 9 9 3 (mod 2018) ≡ − 1 6 (mod 2018) ≡ 2 0 0 2 (mod 2018) where n is an integer.