Find the last two digits of 1 2 1 9 9 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.
We start with some simple observations: (a) 1 2 × 2 ≡ − 1 ( m o d 2 5 ) , so (b) 1 2 4 × 2 4 ≡ 1 ( m o d 2 5 ) , and (c) 1 2 2 0 ≡ 1 ( m o d 2 5 ) by Euler. Now
1 2 1 9 9 6 ≡ 1 2 2 0 0 0 × 1 6 ≡ 1 6 ( m o d 2 5 ) and this congruency holds modulo 4 (and 100) as well since both sides are divisible by 4.
The most exciting approach is to view the problem as
1 2 y m o d ( 2 5 × 4 ) .
We can generate a reusable formula applying chineese remainder theorem and then minify the exponention using the shortcut:
( a . p − 1 ) n m o d p 2 = ( n . a . p − 1 ) m o d p 2 .
The above two methods yield this final shortcut:
Let r = y mod 5.
L e t b = 1 2 r m o d 5 2 = ( r . 1 0 − 1 ) m o d 5 2 .
If y is divisible by 4:
1 2 y m o d ( 1 0 0 ) = ( − 2 4 × − b m o d ( 1 0 0 ) ) )
If y is divisible by 2:
1 2 y m o d ( 1 0 0 ) = ( − 2 4 × b m o d ( 1 0 0 ) ) )
In the given problem, y = 1996;
r = 1996 mod 5 = 1
b = (10.1 - 1) mod 25 = 9
Since 1996 is divisible by 4,
Solution = ( − 2 4 × − 9 ) m o d 1 0 0
= 16
.
Problem Loading...
Note Loading...
Set Loading...
We need to find 1 2 1 9 9 6 m o d 1 0 0 . Since g cd ( 1 2 , 1 0 0 ) = 1 , we consider the factors 4 and 2 5 factors of 1 0 0 separately using Chinese remainder theorem as follows:
Factor 4: 1 2 1 9 9 6 ≡ 0 (mod 4)
Factor 25: Since g cd ( 1 2 , 2 5 ) = 1 , Euler's theorem applies; and Euler's totient function ϕ ( 2 5 ) = 2 5 × 5 4 = 2 0 .
1 2 1 9 9 6 ≡ 1 2 1 9 9 6 m o d ϕ ( 2 5 ) (mod 25) ≡ 1 2 1 9 9 6 m o d 2 0 (mod 25) ≡ 1 2 1 6 ≡ 1 4 4 8 ≡ 4 4 8 (mod 25) ≡ 2 1 6 ( 1 0 + 1 ) 8 (mod 25) ≡ 1 0 2 4 ( 6 4 ) ( 8 0 + 1 ) (mod 25) ≡ ( − 1 ) ( 1 4 ) ( 6 ) (mod 25) ≡ − 9 ≡ 1 6 (mod 25)
Since 1 6 ≡ 0 (mod 4) , ⟹ 2 1 9 9 8 ≡ 1 6 (mod 100) .