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.
Let N = 1 2 1 4 1 6 . We need to find N m o d 4 2 . Since g cd ( 1 2 , 4 2 ) = 1 , we have to consider that factors 6 and 7 of 42 separately using Chinese remainder theorem .
Factor 6: N ≡ 0 (mod 6) .
Factor 7: Since g cd ( 1 2 , 7 ) = 1 , we can apply Euler's theorem and the Euler's totient function ϕ ( 7 ) = 6 . Then N ≡ 1 2 1 4 1 6 m o d ϕ ( 7 ) ≡ 1 2 1 4 1 6 m o d 6 (mod 7) . Again, g cd ( 1 4 , 6 ) = 1 , then we consider 1 4 1 6 ≡ 0 (mod 2) and 1 4 1 6 m o d ϕ ( 3 ) ≡ 1 4 1 6 m o d 2 ≡ 1 4 0 ≡ 1 (mod 3) . Implying that 1 4 1 6 ≡ 3 n + 1 , where n is an integer and 3 n + 1 ≡ 0 (mod 2) ⟹ n = 1 , ⟹ 1 4 1 6 m o d 6 = 3 ( 1 ) + 1 = 4 . Then N ≡ 1 2 4 ≡ ( 1 4 − 2 ) 4 ≡ 2 4 ≡ 1 6 ≡ 2 (mod 7) .
Now, we have: N ≡ 7 m + 2 , where m is an integer, and 7 m + 2 ≡ 0 (mod 6) ⟹ m = 4 and N ≡ 7 ( 4 ) + 2 ≡ 3 0 (mod 42)