PowerModList

PowerModList[a,s/r,m]

gives a list of all modulo m for which mod m.

Details

  • Integer mathematical function.
  • PowerModList[a,-1,m] gives the modular inverse {x} for which mod m, or {} if no such x exists.

Examples

Basic Examples  (1)

Find modular square roots of 3 modulo 11:

In[1]:=
Click for copyable input
Out[1]=

See Also

PowerMod  Reduce  FindInstance  ModularInverse

Introduced in 2007
(6.0)