Tom K. answered 07/28/16
Tutor
4.9
(95)
Knowledgeable and Friendly Math and Statistics Tutor
Use mod(y,x) as y mod x
We only need to consider the last 2 digits of each of 25^63 and 63^25
25^n, n >= 1, has a final 2 digits of 25 for all n (easily proven by induction, as 25 * 25 = 625 has last 2 digits 25)
Then, the last 2 digits of 25 * y = the last 2 digits of 25 * mod(y, 4) - the pattern is 25, 50, 75, 0.
Thus, we only need to find what mod(63^25, 4) equals.
mod(63, 4) = 3
All numbers equal to 3 mod 4 have the power pattern mod 4 of 3, 1, 3, 1, ... (3^2 = 9, and mod(9, 4) = 1)
Thus, mod(63^n, 4) = 3 if n is odd and 1 if n is even.
25 is odd.
Thus, mod(63^25, 4) = 3.
Thus, mod(25^63 * 63^25) = 75 mod 100