Mats Rostedt Correct value is 2701. This is a useful formula for testing: mod(a^n;b) = mod(mod(a^(n-m);b)*mod(a*m;b);b) All numbers positive and n>=m 2021-01-19T15:58:31+00:00
Correct value is 2701.
This is a useful formula for testing:
mod(a^n;b) = mod(mod(a^(n-m);b)*mod(a*m;b);b)
All numbers positive and n>=m