Multiplicative Order
Idea · Intermediate
Number Theory
Let and be positive integers with
The multiplicative order of modulo , denoted by
is the smallest positive integer such that
Such a positive integer always exists by Euler's theorem.
Example
Find .
We calculate:
Since is the smallest positive exponent giving remainder ,
Important Observation
If , then
have distinct residues modulo , and the powers repeat with period .
In particular,
for every nonnegative integer .
If and , then
for every nonnegative integer .
If , write . Then
Conversely, suppose . By the division algorithm,
Therefore,
By the minimality of , we must have . Hence .
If , then
Euler's theorem gives
By Theorem 1,
In particular, if is prime and ,
If , then for every positive integer ,
Let , and write
where .
For any positive integer ,
Since , this is equivalent to . Therefore, the smallest such is .
If , then
Here denotes the multiplicative inverse of modulo .
For every positive integer ,
Thus their smallest positive exponents are equal.
Suppose , and let
Then
Furthermore, if , then
Let . Since and ,
Therefore .
Now suppose , and write . Then
Raising both sides to the power ,
Thus . Since , we obtain . Similarly, .
Therefore . But , so .
If and , then
By the Chinese Remainder Theorem,
if and only if
The smallest positive satisfying both conditions is the least common multiple of the two orders.
Find all positive integers such that
Let .
We need to check .
So,
Let be a prime divisor of .
Prove that
Find
If
then is called a primitive root modulo .
The number
is called a repunit.
If , the smallest positive for which is
Since , we also have .
By the definition of multiplicative order, the smallest positive integer satisfying
is
For with , the length of the repeating block in the decimal expansion of is
For example,
and
Let be the length of the repeating block in the decimal expansion of .
Since , the decimal expansion is purely periodic. Thus, for some positive integer with digits (allowing leading zeros),
Therefore,
so
Hence,
Conversely, let . Then
so . Thus, for some positive integer ,
where is written with exactly digits, allowing leading zeros.
Therefore, the repeating block has length at most , so .
Since , we also have . Consequently,
Incorrect:
for every coprime .
Correct:
From
we can only conclude
The order could be or .
The expression is not defined when .
Incorrect:
Correct:
In general,
The product formula holds when the two individual orders are coprime.
The multiplicative order of modulo is the smallest positive exponent for which , assuming .