Learn/Number Theory/Order Modulo n
Number Theory • Topic 17

Order Modulo n

The order of an integer modulo measures "how long it takes" for its powers to cycle back to 1. This concept underpins primitive roots and cryptography.

Definition

Definition (Order)
Let and be coprime integers (). The multiplicative order of modulo , denoted , is the smallest positive integer such that:

Existence

The order exists if and only if .
  • By Euler's Theorem, , so the set of such is non-empty. The order is the smallest element of this set.

Properties

1. Divisibility of Order

If , then divides .
  • Corollary: always divides .

2. Powers

.

3. Primitive Roots

If , then is called a primitive root modulo .

Practice Problems

Exercise (Problem 1)
Find the order of 2 modulo 7.
Exercise (Problem 2)
Prove that if , then .
Exercise (Problem 3)
Let be an odd prime. If has order 3 modulo , prove that .