order of a number
Important: The numtheory package has been deprecated. Use the superseding command NumberTheory[MultiplicativeOrder] instead.
The smallest integer i such that ni=1modm is returned.
More formally, the order of n in the multiplicative group mod m is returned. If n and m are not coprime, then FAIL is returned.
The command with(numtheory,order) allows the use of the abbreviated form of this command.
Download Help Document
What kind of issue would you like to report? (Optional)