PowerModList

PowerModList[a,s/r,m]
gives a list of all modulo m for which mod m.

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Find modular square roots of 3 modulo 11:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2007
(6.0)
Translate this page: