What is the remainder when
6 5 4 3 2
is divided by 6 ! ?
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.
Great use of the Chinese Remainder theorem to consider this ( m o d 1 4 4 ) and ( m o d 5 ) .
Using Euler's theorem, we need to determine: 5 4 9 modulo ϕ ( 7 2 0 ) , 4 9 modulo ϕ ( ϕ ( 7 2 0 ) )
Since ϕ ( 7 2 0 ) = 1 9 2 , ϕ ( 1 9 2 ) = 6 4 , we have 4 9 ≡ 0 ( m o d 6 4 ) 5 ( ⋯ ) ≡ 1 ( m o d 1 9 2 )
We can't repeat these steps now because g cd ( 6 , 7 2 0 ) = 1 . But 6 ( ⋯ ) ≡ 6 5 1 ≡ 5 7 6 . ( m o d 7 2 0 )
Simple solution!
Let n be any int. ≥ 4 .
I will prove that 6 n ≡ 5 7 6 ( m o d 7 2 0 ) by induction.
and then our problem's solution immediately follows.
Basis: 6 4 ≡ 5 7 6 ( m o d 7 2 0 )
Proof: 6 4 = 1 2 9 6 = 7 2 0 + 5 7 6
Inductive Step:
Assume: For int. k ≥ 4, 6 k ≡ 5 7 6 ( m o d 7 2 0 )
Prove: 6 k + 1 ≡ 5 7 6 ( m o d 7 2 0 )
Proof: Since 6 × 5 7 6 = 4 × 7 2 0 + 5 7 6 ,
6 k + 1 = 6 × 6 k = 6 × 5 7 6 ≡ 5 7 6 ( m o d 7 2 0 )
Q E D
Therefore: Solution: 5 7 6
Brilliant! :D
This is exactly what I was looking for! :D
@Calvin Lin Why is there no rating?
Could you explain a bit why 6 5 4 3 2 ≡ 6 5 1 ( m o d 7 2 0 ) ? would really appreciate :/
This might be a solution by brute force, but still is my solution...
The main idea is we use the fact that
We solve it by parts using the powers.
This is 6 5 :
6 5 ≡ 2 4 ( m o d 6 ! )
This is 6 5 4 :
2 4 4 = 3 3 1 7 7 6 ≡ 5 7 6 ( m o d 6 ! )
Then we have
This is 6 5 4 3 :
5 7 6 3 = 2 4 2 3 = 2 4 6 = 2 4 4 × 2 4 2
Note that from (1) , 2 4 4 ≡ 5 7 6 ( m o d 6 ! )
Now, 2 4 4 × 2 4 2 ≡ 5 7 6 × 2 4 2 ( m o d 6 ! )
5 7 6 × 2 4 2 = 2 4 2 × 2 4 2 = 2 4 4 ≡ 2 4 2 ( m o d 6 ! )
Finally, this is 6 5 4 3 2 :
2 4 2 2 = 2 4 4 ≡ 5 7 6 ( m o d 6 ! )
Not bad! :D
We want to find 6 5 4 3 2 ( mod 7 2 0 ) .
As 7 2 0 = 1 4 4 ⋅ 5 and 1 4 4 and 5 are coprime integers, we can rewrite the problem as finding the unique 0 ≤ x < 7 2 0 that satisfies 6 5 4 3 2 ≡ x ( mod 1 4 4 ) 6 5 4 3 2 ≡ x ( mod 5 )
Note that 1 4 4 = 2 4 ⋅ 3 2 , thus 6 5 4 3 2 ≡ 0 ( mod 1 4 4 ) . Furthermore, 6 ≡ 1 ( mod 5 ) , and thus 6 5 4 3 2 ≡ 1 ( mod 5 ) .
So we want to find 0 ≤ x < 7 2 0 such that x ≡ 0 ( mod 1 4 4 ) x ≡ 1 ( mod 5 )
By the Chinese Remainder Theorem, there exists one such unique x . With trial and error ( x = 1 4 4 , 2 8 8 , 4 3 2 , 5 7 6 , … ), we find that x = 5 7 6 .
Perfect :)
The key is to break 6! Into coprime numbers......i found that breaking it into (16,5,9) is particularly easy. The number already contains powers of 2 and 3 which are much much higher than 4 and 2 .......so the remainder when it is divided by 16 and 9 is 0. Now when the number is divided by 5 ....it is easy to see that the remainder will be 1. So we need to find the solution of the system of congruences x= 0 mod 144 and x=1 mod 5 (forgive me for using" = "instead of congruence). Use chinese remainder theorem of division algorith to quickly find that the remainder is nothing but 144 × 4 = 576
Problem Loading...
Note Loading...
Set Loading...
Let's write the given number as a = 6 b , with b > 5 . Now 6 b − 4 ≡ 1 ( m o d 5 ) . Multiplying through with 6 4 = 1 2 9 6 we find a = 6 b ≡ 6 4 ( m o d 6 4 8 0 ) . Now 6 4 8 0 = 6 ! × 9 so a ≡ 6 4 ≡ 5 7 6 ( m o d 6 ! )