9 8 7 6 5 4 3 2 1
Find the last three digits of the above number.
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.
Nice solution
How are you able to do such problems? Please share
We will denote 9 8 7 6 5 4 3 2 1 as x
9 4 0 0 ≡ 1 ( m o d 1 0 0 0 )
We have to find 8 7 6 5 4 3 2 1 ( m o d 4 0 0 )
We can use Chinese remainder theorem.
We can write the given number as 8 7 4 n for some large integer n
8 7 4 n ( m o d 2 5 ) ⇒ 8 ( 7 4 n ) ( m o d 2 0 ) ( m o d 2 5 ) ⇒ 8 ( m o d 2 5 )
( 7 4 ( m o d 2 0 ) ⇒ 1 ( m o d 2 0 ) )
8 7 4 n ≡ 0 ( m o d 1 6 )
Applying Chinese remainder theorem and simplifying,
We get:
x ( m o d 1 0 0 0 ) ⇒ 9 8 ( m o d 1 0 0 0 ) ⇒ 1 − 1 0 ( 1 8 ) + 1 0 0 ( 2 8 ) ( m o d 1 0 0 0 ) ⇒ 7 2 1 ( m o d 1 0 0 0 )
Problem Loading...
Note Loading...
Set Loading...
We will find the last four digits, hoping for some bonus points ;)
We can write the given number as 9 8 7 4 n for some large integer n . Now 7 4 = ( 5 0 − 1 ) 2 ≡ 1 ( m o d 1 0 0 ) so that 7 4 n ≡ 1 ( m o d 1 0 0 ) as well. Since ϕ ( 1 2 5 ) = 1 0 0 , we can conclude that 8 7 4 n ≡ 8 ( m o d 1 2 5 ) . This congruence holds modulo 8 as well, so that 8 7 4 n ≡ 8 ( m o d 1 0 0 0 ) . The Carmichael's lambda function of 10000 is 500, and we can conclude that 9 8 7 4 n ≡ 9 8 ≡ 6 7 2 1 ( m o d 1 0 0 0 0 ) .