2 7 4 1
What are the last two digits of the number above?
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.
I was doing the course and I actually don't quite get why we can just put (mod 40) next to the exponent. Can you help explain? Thank you.
Log in to reply
Barry, please read up references I have provided.
Log in to reply
The way I solved it is to rewrite 2 7 4 1 as 2 7 4 0 × 2 7 1 . Since 2 7 4 0 ≡ 1 (mod 100). So 27 is the last two digits.
Log in to reply
@Barry Leung – It is the same thing I do.
@Barry Leung – Because 2 7 4 0 n ≡ 2 7 0 ≡ 1 (mod 100) only the remainder 4 1 m o d 4 0 = 1 counts.
a mod b= a^(mod phi(b)) mod b
assume gcd(a,b) = 1
In this case, a = 27^41
Problem Loading...
Note Loading...
Set Loading...
2 7 4 1 ≡ 2 7 4 1 m o d ϕ ( 1 0 0 ) (mod 100) ≡ 2 7 4 1 m o d 4 0 (mod 100) ≡ 2 7 1 (mod 100) ≡ 2 7 (mod 100) Since g cd ( 2 7 , 1 0 0 ) = 1 , Euler’s theorem applies. Euler’s totient function ϕ ( 1 0 0 ) = 4 0
References: