Modular inverse: Difference between revisions

no edit summary
imported>Maxima enthusiast
No edit summary
Line 2,064:
<pre>ModularInverse[42, 2017]
1969</pre>
 
=={{header|Maxima}}==
Using built-in function inv_mod
<syntaxhighlight lang="maxima">
inv_mod(42,2017);
</syntaxhighlight>
{{out}}
<pre>
1969
</pre>
 
=={{header|Mercury}}==