Solve an Equation Modulo n - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Tasks : Integers : Task/SolveEqnModuloN

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

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam