PowerMod
PowerMod[a,b,m] gives ab mod m.
PowerMod[a,-1,m] finds the modular inverse of a modulo m.
PowerMod[a,1/r,m] finds a modular rth root of a.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.
PowerMod[a,b,m] gives ab mod m.
PowerMod[a,-1,m] finds the modular inverse of a modulo m.
PowerMod[a,1/r,m] finds a modular rth root of a.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.