Saturday, September 8, 2018

discrete mathematics - How to compute: $(89^{3} bmod 79)^4bmod 26$?

How to compute: $(89^{3} \bmod 79)^4\bmod 26$??



It's easy to calculate it by evaluating $89^{3}$ first and then mod $79$, but it seems stupid to do it this way. Do we have a faster way to evaluate it?

No comments:

Post a Comment