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

analysis - Injection, making bijection

I have injection $f \colon A \rightarrow B$ and I want to get bijection. Can I just resting codomain to $f(A)$? I know that every function i...