MATH3080 · Theorem · Chapter 7 · Diophantine equations
Two-square theorem
11 steps of prerequisites below it
A positive integer is a sum of two squares exactly when every prime p ≡ 3 (mod 4) has even exponent in its factorization.
Taught in
- 7.2 Sums of two squares · introduced
Uses
- Unique factorization · used in its proof, proof step 7.2
- A prime dividing a sum of squares · used in its proof, proof step 7.2
- Gaussian integers · used in its proof, proof step 7.2
- Primes congruent to one modulo four · used in its proof, proof step 7.2
Used by
No later knowledge point in these notes uses it.
Lenses
- Sums of two squares as Gaussian norms · Algebraic
Everything this builds on, earliest first · 26 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.
- Divisibility · 1.1
- Prime · 1.1
- Greatest common divisor · 1.1
- Division with remainder · 1.1
- Euclid's invariant · 1.2
- Euclidean algorithm · 1.1
- Extended Euclidean invariant · 1.2
- Bézout identity · 1.1
- Euclid's lemma · 1.1
- Unique factorization · 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
- A prime dividing a sum of squares · 7.2
- Gaussian integers · 7.2
- Self-inverse element · 2.2
- Product of a finite abelian group · 2.2
- Zero divisor · 2.2
- No zero divisors modulo a prime · 2.2
- Square roots of one modulo a prime · 2.2
- Wilson's theorem · 2.2
- Euclidean division in the Gaussian integers · 7.2
- Primes congruent to one modulo four · 7.2
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.