1. Compute Modular Exponentiation
Computer Science StudentBackground
Studying public-key cryptography and verifying square-and-multiply steps for small modular exponentiation examples.
Problem
Need to compute 17⁵ mod 13 with intermediate binary exponentiation steps.
How to use
Select 'Power' operation, input a = 17, b = 5, and m = 13, then compute.
operation: power, a: 17, b: 5, m: 13Outcome
Displays 5 = 101₂, tracks powers 17¹ ≡ 4 and 17⁴ ≡ 9, and outputs final result 10 mod 13.