Let R be the remainder when 9 7 ! is divided by 101.
M = 2 R + 2 R − 1 + 2 R − 2 + . . . . . . . . + 2 1 + 2 0
Find the last three digits of M.
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.
How do you get 98 ! =50 ( mod 101 ) from the previous step
As 101 is prime, by Wilson's theorem, 9 9 ! ≡ 1 ( m o d 1 0 1 )
9 7 ! ⋅ 9 8 ⋅ 9 9 ≡ 1 ( m o d 1 0 1 )
9 7 ! ⋅ ( − 3 ) ⋅ ( − 2 ) ≡ 1 ( m o d 1 0 1 )
9 7 ! ⋅ 6 ≡ 1 ( m o d 1 0 1 )
9 7 ! ≡ 6 − 1 ( m o d 1 0 1 )
9 7 ! ≡ 1 7 ( m o d 1 0 1 ) ....... because 6 ⋅ 1 7 = 1 0 2 ≡ 1 ( m o d 1 0 1 )
So R = 1 7
So M = 2 1 7 + 2 1 6 + . . . + 2 1 + 2 0 = 2 1 8 − 1 = ( 2 9 ) 2 − 1 = 5 1 2 2 − 1 = 2 6 2 1 4 3
So answer is 1 4 3
Problem Loading...
Note Loading...
Set Loading...
From Wilson's Theorem, we get
1 0 0 ! ≡ − 1 ( m o d 1 0 1 )
⇒ 1 0 0 ! ≡ 1 0 0 ( m o d 1 0 1 )
⇒ 9 9 ! ≡ 1 ( m o d 1 0 1 )
⇒ 9 9 ! ≡ 1 0 1 × 4 9 + 1 ( m o d 1 0 1 )
⇒ 9 8 ! ≡ 5 0 ( m o d 1 0 1 )
⇒ 9 8 ! ≡ 1 0 1 × 1 6 + 5 0 ( m o d 1 0 1 )
⇒ 9 7 ! ≡ 1 7 ( m o d 1 0 1 )
So, R = 1 7 .
We know, 2 0 + 2 1 + 2 2 + . . . . . . . . . + 2 n − 1 = 2 n − 1
Hence, M = 2 0 + 2 1 + 2 2 + . . . . . . . . . + 2 1 7 = 2 1 8 − 1 = 2 6 2 1 4 3
So, the last three digits of M are 1 4 3 .