PowerMod
Usage
Notes
Further Examples
PowerMod is much more efficient than the equivalent combination of Power and Mod.
In[1]:=
|
Out[1]=
|
PowerMod can be used to find modular inverses. This gives the inverse of in the integers modulo .
In[2]:=
|
Out[2]=
|
This checks the result.
In[3]:=
|
Out[3]=
|
|