A = 2 0 1 7 4 0 6 4 0 − 2 0 1 7 B = 2 0 1 7 4 0 5 4 4 − 2 0 1 7
The greatest common divisor of A and B can be expressed in the form 2 0 1 7 x y − 2 0 1 7 , where x and y are integers .
Submit your answer as x y , which is the concatenation of the digits of x and y . For example, if x = 1 0 and y = 1 2 , then x y = 1 0 1 2 .
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.
Can you prove this? g cd ( a m − 1 , a n − 1 ) = a g cd ( m , n ) − 1
Log in to reply
Well this is not much of proof, but here it goes.
We know that a m ≡ 1 m o d ( a m − 1 ) and a n ≡ 1 m o d ( a n − 1 ) .
Let d = g c d ( m , n ) . It immediately follows that d ∣ m and d ∣ n .
C a s e 1 : m and n are even
It follows that d is also even and a ≡ ± 1 m o d ( a m − 1 ) and a ≡ ± 1 m o d ( a n − 1 ) . Hence, a d ≡ 1 m o d ( a m − 1 ) and a d ≡ 1 m o d ( a n − 1 )
C a s e 2 : m and n are odd
It follows that d is also odd and a ≡ 1 m o d ( a m − 1 ) and a ≡ 1 m o d ( a n − 1 ) . Hence, a d ≡ 1 m o d ( a m − 1 ) and a d ≡ 1 m o d ( a n − 1 )
C a s e 3 : One is odd and the other is even
Without loss of generality, let m be odd and n be even. It then follows that d is odd and a ≡ 1 m o d ( a m − 1 ) and a ≡ ± 1 m o d ( a n − 1 ) . We may use the fact that dividing an odd integer by an odd integer yields an odd integer and that dividing an even integer by an odd integer yields an even integer. Hence, a d ≡ 1 m o d ( a m − 1 ) and a d ≡ 1 m o d ( a n − 1 ) .
Hence, in all cases it has been shown that a d − 1 ≡ 0 m o d ( a m − 1 ) and a d − 1 ≡ 0 m o d ( a n − 1 ) .
Then, any divisor of a m − 1 and a n − 1 must be a divisor of a d − 1 as well. Hence, g c d ( a m − 1 , a n − 1 ) = a g c d ( m , n ) − 1 .
Let m = 2 0 1 7 A and n = 2 0 1 7 B .
The greatest common divisor of m and n can be expressed in the form 2 0 1 7 x y − 1 − 1 .
m = 2 0 1 7 4 0 6 4 0 − 1 − 1
Some factors of m which are no less than 2 0 1 6 can be expressed in the form 2 0 1 7 α m − 1 , where α m is a factor of 4 0 6 4 0 − 1 .
Next, some factors of 4 0 6 4 0 − 1 which are no less than 3 9 can be expressed in the form 4 0 β − 1 , where β is a factor of 6 4 0 .
Therefore, some factors of m which are no less than 2 0 1 7 3 9 − 1 can be expressed in the form 2 0 1 7 4 0 β − 1 − 1 .
We repeat the process for n = 2 0 1 7 4 0 5 4 4 − 1 − 1 .
For g c d ( m , n ) , we get β = g c d ( 6 4 0 , 5 4 4 ) = 3 2 , since it can be shown that no greater combination (quotient nor product) of other factors can be equal for m and n .
Hence, x = 4 0 , y = 3 2 and x y = 4 0 3 2
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Greatest Common Divisor - Problem Solving
We can use the (very useful) fact that
g c d ( a m − 1 , a n − 1 ) = a g c d ( m , n ) − 1
Hence, g c d ( 2 0 1 7 4 0 6 4 0 − 2 0 1 7 , 2 0 1 7 4 0 5 4 4 − 2 0 1 7 ) = 2 0 1 7 × g c d ( 2 0 1 7 4 0 6 4 0 − 1 − 1 , 2 0 1 7 4 0 5 4 4 − 1 − 1 ) = 2 0 1 7 × [ 2 0 1 7 g c d ( 4 0 6 4 0 − 1 , 4 0 5 4 4 − 1 ) − 1 ] = 2 0 1 7 × [ 2 0 1 7 4 0 g c d ( 6 4 0 , 5 4 4 ) − 1 − 1 ]
Notice that 6 4 0 = 3 2 × 2 0 and 5 4 4 = 3 2 × 1 7 . Since 2 0 and 1 7 are coprime, g c d ( 6 4 0 , 5 4 4 ) = 3 2 .
Therefore, g c d ( 2 0 1 7 4 0 6 4 0 − 2 0 1 7 , 2 0 1 7 4 0 5 4 4 − 2 0 1 7 ) = 2 0 1 7 × [ 2 0 1 7 4 0 3 2 − 1 − 1 ] = 2 0 1 7 4 0 3 2 − 2 0 1 7
Hence, x = 4 0 and y = 3 2 and x y = 4 0 3 2