How would I evaluate this?
19 ^ 99 mod 160
The usual method using Euler's Theorem doesn't seem to help.
Is there another strategy I should learn about?
How would I evaluate this?
19 ^ 99 mod 160
The usual method using Euler's Theorem doesn't seem to help.
Is there another strategy I should learn about?
I have to think about this - it seems like a simple method.
Why didn't I think of it? Is it because my brain has become stuck in the methods taught by the textbook I'm following and not seeing beyond those.