∑ZWMath CoursesSyllabusExercises
ES
ZWMath›Elementary number theory›Orders and quadratic residues›Primitive root›ZW-PRIMITIVE-ROOT-005
Course menu
AreaNumber theoryCourseElementary number theoryTopicOrders and quadratic residues
Divisibility and factorization10
  • Bézout's identity
  • Extended Euclidean algorithm
  • Euclid's lemma
  • Fundamental theorem of arithmetic
  • Least common multiple
  • Infinitude of primes
  • Linear Diophantine equation
  • Greatest common divisor Discrete mathematics
  • Euclidean algorithm Discrete mathematics
  • Prime number Discrete mathematics
Congruences9
  • Complete residue system
  • Modular inverse
  • Linear congruence
  • Chinese remainder theorem
  • Fermat's little theorem
  • Euler's totient function
  • Euler's theorem
  • Wilson's theorem
  • Modular congruence Discrete mathematics
Orders and quadratic residues6
  • Multiplicative order
  • Primitive root
  • Quadratic residue
  • Legendre symbol
  • Euler's criterion
  • Law of quadratic reciprocity
Arithmetic functions5
  • Multiplicative arithmetic function
  • Divisor functions
  • Perfect number
  • Möbius function
  • Möbius inversion formula
Continued fractions and Diophantine equations4
  • Continued fraction
  • Convergent of a continued fraction
  • Pell's equation
  • Sum of two squares
Primes and cryptography3
  • RSA cryptosystem
  • Fermat primality test
  • Prime number theorem

Exercise · ZW-PRIMITIVE-ROOT-005 · ★★☆ Intermediate

What is the order of 2 modulo 5?

Choose one option.

Show answer
  • C. 4

← Back to the question

Explanation

The powers of 2 modulo 5 are 2, 4, 3, 1, so the order is 4.

Study Elementary number theory in ZWMath →

Review the concept: Primitive root

A primitive root modulo \(n\) is an integer \(g\) whose multiplicative order modulo \(n\) equals \(\varphi(n)\), so that its powers run through all residues coprime to \(n\).

\[\operatorname{ord}_n(g)=\varphi(n)\]

More practice problems: primitive root

  • ZW-PRIMITIVE-ROOT-001 What is φ(9)?
  • ZW-PRIMITIVE-ROOT-002 What does it mean for g to be a primitive root modulo n?
  • ZW-PRIMITIVE-ROOT-003 If g is a primitive root modulo n, how many distinct powers of g modulo n are there?
  • ZW-PRIMITIVE-ROOT-004 Is 3 a primitive root modulo 7?
  • ZW-PRIMITIVE-ROOT-006 Is 2 a primitive root modulo 7?
  • ZW-PRIMITIVE-ROOT-007 For which of the moduli 8, 9, 7 or 5 does no primitive root exist?
  • ZW-PRIMITIVE-ROOT-008 Which of the numbers 1, 2 or 4 is a primitive root modulo 5? Note that φ(5)=4.
  • ZW-PRIMITIVE-ROOT-009 How many primitive roots modulo 7 exist?

← ZW-PRIMITIVE-ROOT-004 ZW-PRIMITIVE-ROOT-006 →

Practice

⏱Exam simulator10 random questions with a grade☰All exercises
◉Open on course✦Open on free study↗Open on the map

ZWMath · Math from definition to practice. Open the interactive map · Syllabus · All exercises

Author: ORCID iD 0009-0009-8641-3511

Privacy · About Speedrunz · Contact