Solve an Equation Modulo n - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Integers : Solve an Equation Modulo n

Solve an Equation Modulo n

 Description Solve an equation for integers modulo n.

Enter the equation.

 > ${{3}}^{{x}}{=}{2}$
 ${{3}}^{{x}}{=}{2}$ (1)

Enter the value of n.

 > ${5}$
 ${5}$ (2)

Solve the equation modulo n.

 > $\mathrm{msolve}\left(\left\{\right\},\right)$
 $\left\{{x}{=}{3}{+}{4}{}{\mathrm{_Z1}}\right\}$ (3)
 Commands Used
 See Also