What's the remainder if is divided by ?
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.
By Prime factorizing 3 0 1 we get 3 0 1 = 7 × 4 3
Therefore, we can apply Chinese remainder theorem since, g cd ( 7 , 4 3 ) = 1 and Fermat's little theorem since, 7 and 4 3 are PRIME numbers.
So, by these theorems we get:
1 2 3 4 2 ≡ 1 ( m o d 4 3 ) and 1 2 3 6 ≡ 1 ( m o d 7 )
Now, 1 2 3 6 ≡ 1 ( m o d 7 )
⟹ ( 1 2 3 6 ) 7 = 1 2 3 4 2 ≡ 1 7 ≡ 1 ( m o d 7 )
Let 1 2 3 4 2 = x then x ≡ 1 ( m o d 4 3 ) and x ≡ 1 ( m o d 7 )
∴ x = 4 3 m + 1 = 7 n + 1
Thus, by “Chinese remainder theorem” we have 7 n + 1 ≡ 1 ( m o d 4 3 )
⟹ n ≡ 0 ( m o d 4 3 )
∴ n = 4 3 k [where k is any integer]
Thus, we get x = 7 ( 4 3 k ) + 1 = 3 0 1 k + 1
∴ 1 2 3 4 2 ≡ 1 ( m o d 3 0 1 )
By multiplying both sides by 1 2 3 3 we get:
1 2 3 4 2 × 1 2 3 3 = 1 2 3 4 5 ≡ 1 2 3 3 ( m o d 3 0 1 )
⟹ 1 2 3 4 5 ≡ 1 8 6 0 8 6 7 ≡ 8 5 ( m o d 3 0 1 )
Hence, 1 2 3 4 5 ≡ 8 5 ( m o d 3 0 1 )