Modular Exponentiation · 3¹³ mod 7
unseel.com · Square & multiply · O(log b)
result 1
base 3
step
base (squares each step)
result (folds on set bit)
set bit (1)
mod-7 ring
Unseel.com · Modular Exponentiation