This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

PowerModList

PowerModList[a, s/r, m]
gives a list of all x modulo m for which x^r=a^s mod m.
  • Integer mathematical function.
  • PowerModList[a, -1, m] gives the modular inverse {x} for which x a=1 mod m, or {} if no such x exists.
Find modular square roots of 3 modulo 11:
Find modular square roots of 3 modulo 11:
In[1]:=
Click for copyable input
Out[1]=
New in 6