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 I had brute forced till I found 3^20 mod 100 was 1 and then found the pattern in which powers of 14 modulo 20 ( 4,-4 cycle ), never knew that the function you used even existed
After a while each number's powers will repeat the last digits.
Therefore: 3 1 4 1 5 9 ( m o d 1 0 0 ) = 1 × 3 ( 1 4 1 5 9 ( m o d 2 0 ) ) ( m o d 1 0 0 ) = 3 ( 7 6 × 1 4 9 ( m o d 1 0 ) ) ( m o d 1 0 0 ) = 3 ( 7 6 × 8 4 ( m o d 1 0 ) ) ( m o d 1 0 0 ) = 3 8 4 ( m o d 1 0 0 ) = 3 4 ( m o d 1 0 0 ) = 8 1
Taking the last two digits of the result means to get the remainder of dividing it by 100. I experimented and found the loop section of the remainder of the power of three divided by 100:
Power | Remainder | Power | Remainder | Power | Remainder | Power | Remainder | Power | Remainder |
0 | 1 | 1 | 3 | 2 | 9 | 3 | 27 | 4 | 81 |
5 | 43 | 6 | 29 | 7 | 87 | 8 | 61 | 9 | 83 |
10 | 49 | 11 | 47 | 12 | 41 | 13 | 23 | 14 | 69 |
15 | 7 | 16 | 21 | 17 | 63 | 18 | 89 | 19 | 67 |
Starting from the 20th power of 3, the remainder after dividing by 100 begins to loop from the beginning of the table, that is:
3 n ≡ 3 ( n m o d 2 0 ) ( m o d 1 0 0 )
Then we only need to find out what is the remainder of 1 4 1 5 9 divided by 20. For this reason, I did the following experiment and found the rule of the remainder of the power of 14 divided by 20:
⎩ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎧ 1 4 0 ≡ 1 ( m o d 2 0 ) 1 4 1 ≡ 1 4 ( m o d 2 0 ) 1 4 2 a ≡ 1 6 ( m o d 2 0 ) ( a > 0 ) 1 4 2 a + 1 ≡ 4 ( m o d 2 0 ) ( a > 0 )
So we can know that the remainder of 1 4 1 5 9 divided by 20 is 4.
By comparing the above table again, we can know that the answer is 8 1
Problem Loading...
Note Loading...
Set Loading...
We need to find 3 1 4 1 5 9 m o d 1 0 0 . Since 3 and 1 0 0 are coprime integers or g cd ( 3 , 1 0 0 ) = 1 , we can apply Euler's theorem and hence Carmichael's lambda function λ ( ⋅ ) . We note that λ ( 1 0 0 ) = 2 0 . Then we have:
3 1 4 1 5 9 ≡ 3 1 4 1 5 9 m o d λ ( 1 0 0 ) ≡ 3 1 4 1 5 9 m o d 2 0 (mod 100)
We have to solve 1 4 1 5 9 m o d 2 0 . Since g cd ( 1 4 , 2 0 ) = 1 , we cannot use Euler's theorem. We have to use Chinese remainder theorem and consider the divisors 4 and 5 separately as follows:
Therefore 1 4 1 5 9 ≡ 5 n + 4 ≡ 0 (mod 4) ⟹ n ≡ 0 ⟹ 1 4 1 5 9 ≡ 4 (mod 20) and
3 1 4 1 5 9 ≡ 3 4 ≡ 8 1 (mod 100)