MATH3080 · Theorem · Chapter 8 · Primality testing
Computational cost
11 steps of prerequisites below it
One strong round on a β-bit input uses fewer than 2β modular multiplications, hence O(β³) bit operations with schoolbook arithmetic, which is polynomial while trial division is exponential.
Taught in
- 8.2 Miller–Rabin traces and computational cost · introduced
Uses
- Logarithmic division bound · used in an argument or worked solution, passage 8.2
- Miller–Rabin test · used in an argument or worked solution, passage 8.2
Used by
No later knowledge point in these notes uses it.
Everything this builds on, earliest first · 33 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.
- Division with remainder · 1.1
- Divisibility · 1.1
- Greatest common divisor · 1.1
- Euclid's invariant · 1.2
- Euclidean algorithm · 1.1
- Division count · 1.2
- Fibonacci numbers · 1.2
- Division-count lower bound · 1.2
- Fibonacci growth bounds · 1.2
- Logarithmic division bound · 1.2
- Extended Euclidean invariant · 1.2
- Bézout identity · 1.1
- Congruence · 2.1
- Unit · 2.1
- Unit group · 2.2
- Euler's function · 3.1
- Euler's theorem · 3.1
- Fermat's little theorem · 2.2
- Prime · 1.1
- Euclid's lemma · 1.1
- A nontrivial square root of 1 reveals a factor · 8.1
- Coprime · 1.1
- Unique factorization · 1.1
- Chinese remainder theorem · 2.1
- Zero divisor · 2.2
- No zero divisors modulo a prime · 2.2
- Square roots of one modulo a prime · 2.2
- Strong sequence · 8.1
- Strong probable prime · 8.1
- Multiplicative order · 3.1
- Non-coprime bases always fail · 8.3
- The half bound · 8.3
- Miller–Rabin test · 8.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.