Number System

Multiplicative Order

An inked arrow turns through successive positions and returns to its start.

Multiplicative Order definition

The multiplicative order of a modulo n is the least positive exponent k for which aᵏ is congruent to 1 modulo n.

In Spanish
orden multiplicativo
Topic
Integer equations and number theory

Multiplicative Order in a picture

Multiplicative Order diagramThe powers of 2 modulo 7 go 2, 4, 1, giving order 3.First power: 2 modulo 7The remainder is 2Second power: 4 modulo 7The remainder is 4Third power: 8 modulo 7The remainder is 1
The powers of 2 modulo 7 go 2, 4, 1, giving order 3.

How it works

Assume n > 1 and gcd(a, n) = 1. Multiply by a and reduce modulo n until the powers return to 1. The order divides φ(n), and for a prime modulus p it divides p − 1.

Worked examples

Find the order of 4 modulo 5.

4 ≡ −1, so its order is 2.

Find the order of 1 modulo 11.

Its first positive power is 1, so the order is 1.

Can 2 have a multiplicative order modulo 6?

No. It is not invertible modulo 6, and its positive powers are even.

Common mistake

Find the first positive return to 1. Larger multiples of the order also return to 1.

Quick check

What is the order of 3 modulo 7?

Must the base be coprime to the modulus?

Show answer

Yes, in the usual definition.

What is the order of −1 modulo 7?

Show answer

2.

Sources

Flashcard

Multiplicative Order

Reveal the definition

The multiplicative order of a modulo n is the least positive exponent k for which aᵏ is congruent to 1 modulo n.

Effortless Math. “Multiplicative Order.” Math Dictionary.