Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Number Theory / Deeper structure

Orders and Primitive Roots

How long powers take to cycle back to 1 modulo n, and the numbers whose powers visit everything.

3 min read · 1 sections · 1 checks

Contents 2 sections
  1. §1Order
  2. ?Check yourself

By the end you can

  • Compute the multiplicative order of an element
  • Recognise primitive roots
  • Relate orders to φ(n)\varphi(n)

Helps to know: Fermat, Euler and the Chinese Remainder Theorem

§1Order

Modulo 77: the powers of 33 are 3,2,6,4,5,13, 2, 6, 4, 5, 1, hitting every nonzero residue. So 33 has order 66 and is a primitive root. The powers of 22 are 2,4,12, 4, 1: order 33, not primitive.

Check yourself

  1. Q1
    The order of 22 modulo 55 is…