Skip to content

MATH3080 · Theorem · Chapter 8 · Primality testing

A nontrivial square root of 1 reveals a factor

6 steps of prerequisites below it

If x² ≡ 1 (mod n) but x ≢ ±1, then gcd(x − 1, n) and gcd(x + 1, n) are proper divisors of n.

Taught in

Uses

Used by

Everything this builds on, earliest first · 9 steps

Each step comes after its own prerequisites, so reading in this order never needs something you have not met. It is a reading order for these notes, not a diagnosis of what you know.

  1. Divisibility · 1.1
  2. Greatest common divisor · 1.1
  3. Prime · 1.1
  4. Division with remainder · 1.1
  5. Euclid's invariant · 1.2
  6. Euclidean algorithm · 1.1
  7. Extended Euclidean invariant · 1.2
  8. Bézout identity · 1.1
  9. Euclid's lemma · 1.1

Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.

Longest chain down to a starting point

Each step is used by the one above it, across courses where the notes link them. It ends at a point the notes define without another point.

  1. Euclid's lemma
  2. Bézout identity
  3. Euclidean algorithm
  4. Euclid's invariant
  5. Greatest common divisor
  6. Divisibility

Back to the graph →Read the note 8.1 →

Vercel visit statistics and public-page performance measurements each require separate consent. Neither is needed to use the website.

Website function storage (used when needed)

Security, sign-in and your chosen preferences use storage when needed. This is separate from optional statistics.

Withdrawing stops future statistics. The page reloads if analytics code needs unloading. It does not delete data already sent.

Read Cookie and storage details