resource: evan's handout, MONT, etc.
Overview
This is a module about orders, which deals with exponents in NT.
Definition
The order of , sometimes written as , is the smallest positive integer such that .
The idea is quite similar to the logarithm function, but in Number Theory.
Fermat's Little Theorem
First, you may question how do you know this value exists. After all, what if, for all integers , ? To do this, we must first show the famous Fermat's Little Theorem.
Fermat's Little Theorem. for all integers and primes where .
To prove this, consider two sets and . We will show all elements of are distinct.
Consider two elements . For the sake of contradiction, suppose and are the same. Then,
As , then , and so . But, , impossible, unless . Hence, all elements of are distinct. Nicely enough, we can multiply the elements of and , and upon taking the results modulo , they must be equal:
Note that is relatively prime to all elements of , and so . So, , as desired.
With that conclusion, it is safe to conclude there exists an integer such that .
Power of Orders
The power of orders is its minimality. To be more precise:
Theorem 1. If is a nonnegative integer such that , then .
Write . To prove this, note that due to Divison Algorithm, we can write for integers , , and where $0 \leq r < m. Notice,
But, if then we contradict the minimality of order. So, and so , as desired.
In conjunction with Fermat's Little Theorem, it is clear that , and so .
Primitive Roots
The converse also holds for a prime: there exists an integer such that . In particular, the sequence
cycles through all elements from to .
For example, is a primitive root modulo as and , and so . To sum, primitive roots always exist for a prime , oftenly denoted by . However, to our surprise, we do not know how to determine the exact value of .
I will leave it to you to check that is a primitive root modulo and .
Warm-Up Examples
Example 1: Product of Primitive Roots (worth remembering!)
Your goal is to prove that the product of all primitive roots mod an odd prime is congruent to .
Pair each primitive root with since . The product of each pair is . Since , we pair them into distinct terms, giving a total product of .
Example 2: Primitive Roots + Euler's Criterion
Your job is to find all primes such that is a primitive root modulo , and also divides .
Realize that since is a primitive root, its order is . This satisfies the condition . Via Euler's criterion, we get: .
Example 3: Interesting Property (also worth remembering!)
Let be a positive integer such that the order of modulo is . Your goal is to prove that must be a prime number.
By ETT, we know that , and so the order must divide . Now, because always holds, we must have . This holds if and only if is prime (why?).
Example 4: Skibidi Characterization of primitive roots
Let be an odd prime. Your goal is to prove that is a primitive root mod if and only if for all prime divisors of .
Firstly, you can assume the order is less than . Then the quotient must have some prime factor . This means that divides , which would force . However, this contradicts the problem statement, meaning the order must equal .
Example 5: Product of Quadratic Residues (also also worth remembering!)
Let be a prime greater than 3. Your job is to prove that the product of all quadratic residues modulo is congruent to .
We can represent all the quadratic residues as the even powers of a primitive root: . The sum of these exponents simplifies to . Now, because , is an even integer, which means the sum is a multiple of and the final product .
Example 6: Fun Problem
Let be an odd prime. Your job is to prove that a primitive root modulo is also a primitive root modulo if and only if .
First observe that the order modulo must divide and also satisfy , meaning . This means the possible values are or . Since , the order cannot be , leaving .
Module Progress:
Join the Discord Community!
Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.
