Multiplicative order: Difference between revisions

m
m (→‎{{header|Phix}}: made it run on 32 bit and hence pwa/p2js)
Line 1,437:
100</lang>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
In Mathematica this is really easy, as this function is built-in:
MultiplicativeOrder[k,n] gives the multiplicative order of k modulo n, defined as the smallest integer m such that k^m == 1 mod n.<br>
1,111

edits