Modular Exponentiation ·
3¹³ mod 7
un
seel
.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
▶ Play
←
→
🔇 Unmute
↻ Reset
Un
seel
.com · Modular Exponentiation