Solve an Equation Modulo n - Maple Programming Help

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