On March 30, 1796, a young man still a month short of turning nineteen worked out something no one had managed in the two thousand years since Euclid - drawing the regular 17-gon with only a straightedge and compass. But a deeper question than “drawing it” is:
Why can it be drawn?
This article starts from zero: Fermat primes, the clock modulo 17, Gauss periods, the Galois group, four layers of quadratic extensions, up to the explicit closed form of and Richmond’s twenty-step construction, and then on to Wantzel and Lindemann closing the door on the three great problems of ancient Greece.
Contents
- §0 Prologue
- §1 Why 17 (the Fermat prime criterion)
- §2 Multiplication on a clock (ℤ/17ℤ)*
- §3 Gauss periods → the first √17
- §4 The group of symmetries: Galois
- §5 The explicit closed form of cos(2π/17)
- §6 Richmond 1893: a twenty-step construction
- §7 Necessity: Wantzel + Lindemann
- §8 History and significance
- §9 Closing
§0 Prologue

The first entry of Gauss’s mathematical diary (Tagebuch), March 30, 1796 - the record of the discovery that the regular 17-gon is constructible (Latin Principia quibus innititur sectio circuli…). Wikimedia Commons, public domain.
In the Mediterranean world more than two thousand years ago, ancient Greece was a civilizational community made up of many city-states, and our philosophy, astronomy and geometry of today slowly took shape there.
My interest in mathematics came from plane geometry in junior high school. And what shook me most in it was the story of the young Gauss constructing the regular 17-gon.

The young Gauss, pastel by J. C. A. Schwartz, 1803 (Gauss about 26). Wikimedia Commons, PD.
In this episode, let us look back on this story together. Rather than “how to draw it”, what this blog post wants more to make clear is the thing Gauss really worked out back then - why it can be drawn.
§1 — Why 17: Fermat primes and the constructibility criterion
The regular 17-gon is a milestone in the history of mathematics not because “17 is a nice-looking number”, but because it lands exactly on an extremely demanding criterion: for the regular polygons that can be constructed exactly with an unmarked straightedge and a compass, the number of sides is held fast by a rare kind of prime called a “Fermat prime”. This section makes two things clear starting from zero - what kind of prime is “constructible”, and why happens to be one of them. We first use a plain picture to explain “Fermat numbers”, then fill in the complete proof of a key lemma (Gauss wrote it into the Disquisitiones Arithmeticae, but various popular accounts often pass over in a single stroke ” prime is a power of ”), and finally explain the ins and outs of the criterion “constructible what the number of sides looks like”, and where each of the three great ancient Greek problems belongs with respect to it.
Additional notation for this section
| Notation | Reading / meaning |
|---|---|
| the -th Fermat number, (the exponent itself is a power of ) | |
| Fermat prime | a Fermat number that is exactly a prime; at present only are known, these |
| ” divides ”, that is, is an integer multiple of | |
| Euler’s function: the number of integers in coprime to ; when is prime, | |
| the horizontal coordinate of a vertex of the regular -gon (taking the unit circle, with the first vertex due east) | |
| a measure of the “algebraic complexity” of the number : the degree of the lowest-degree equation with rational coefficients that it satisfies (see §7 for details) |
1.1 Intuition first: what a Fermat number is, and why the exponent must be a “power of ”

The 17 roots of spread evenly around the unit circle; the real part of (orange) is . — Animation frame: Abel (Manim)
First look at the plainest question: among numbers of the form , which can possibly be prime?
Try a few at random: (prime), (prime), (not), (prime), (not), (not), (prime).
A pattern is ready to emerge: only when the exponent is itself a power of () does have a chance of being prime; as soon as carries an odd factor ( all carry one), it can necessarily be factored.
The picture of this observation is like this: if an odd factor is hidden in , then automatically “grows” a factor one size smaller, , which splits it apart. On this basis Fermat in the seventeenth century conjectured: take (pinching off every odd factor completely), and the numbers obtained
are perhaps all prime. The first five are indeed beautiful:
is exactly the third Fermat prime among them - this is the arithmetic identity card that later lets it be constructed with straightedge and compass.
1.2 Making the intuition rigorous: is prime is a power of
The “pattern” of the previous subsection must be proved, or else it is only a coincidence. Here is a complete proof (Gauss, Disquisitiones Arithmeticae §365, builds the constructibility criterion on it). The entire fuel of the proof is the following elementary identity.
Lemma (factor of an odd power). Let be an odd number; then the polynomial divides :
(Expand the right-hand side, and adjacent terms cancel in pairs, leaving only ; because is odd, the last term is , and the signs match exactly. Equivalently, is a root of , so is a factor of it.)
Proposition. If is prime, then is a power of .
Proof (by contradiction). Suppose is not a power of . Then contains at least one odd factor . Write it as
Substitute in the lemma (note that is odd, so the lemma applies):
So is a factor of . Now look at its size: because ,
that is, is a proper factor lying strictly between and . This contradicts being prime (having only the trivial factors and itself).
Therefore contains no odd factor , that is, is made up only of factors - is a power of . (QED)
A reminder about direction (do not read it backwards): this proposition only says “prime the exponent is a power of ”; it
does not
guarantee “the exponent is a power of prime”. The reverse direction is where Fermat guessed wrong - see in the next subsection.
1.3 Fermat’s crash: is not prime (Euler 1732)

The Fermat primes ; is struck out by Euler in 1732 with the factor 641. — Abel (Manim)
Fermat conjectured that “all are prime”, but he only checked up to . About a century later, Euler** in 1732** gave the first counterexample: the sixth Fermat number
is not prime. Euler’s key insight was: if has a prime factor, that prime factor must be of the form (this constraint greatly narrows the search range), and on this basis he soon pinned down . The verification needs only one division:
( is prime, and is also prime, but the latter was only confirmed later. , exactly of the form .) This stroke brought the “Fermat primes” down from “an infinite family” to a rare list of “only known at present”: . After nobody has ever found a new Fermat prime, and whether there is a sixth is unknown to this day.
It is exactly this rarity that determines that the “regular polygons with an odd prime number of sides” constructible with straightedge and compass can be counted on the fingers - and holds one of the places.
1.4 The constructibility criterion: the Gauss–Wantzel theorem

The Gauss–Wantzel criterion (distinct Fermat primes); the -gons are out. — Abel (Manim)

F. J. Richelot (1808–1875), who constructed the regular 257-gon in 1832. Wikimedia Commons, public domain.
Now lay out in full the general criterion for “which regular polygons are constructible”. Its “sufficiency” (how to construct) was given by Gauss in 1796 by taking roots of periods (§3–§6 of this series do exactly the case from the beginning), and its “necessity” (if not satisfied, it really cannot be constructed) was completed by Wantzel** in 1837** (J. Math. Pures Appl. 2, 366–372). Together they are called:
The Gauss–Wantzel theorem.
The regular -gon can be constructed exactly with straightedge and compass if and only if
where , and are
mutually distinct
Fermat primes ( may be ).
To read this criterion, grasp three key points:
- “Mutually distinct” is a hard constraint. Among the constructible odd prime factors, each Fermat prime is used at most once. For example uses the Fermat prime repeatedly, and is not constructible - and this is exactly equivalent to ” cannot be trisected”. Go through this chain of equivalence: the regular nonagon requires constructing ; and , doubling an angle is constructible, so “constructing ” and “constructing ” are the same thing; and , so it finally comes down to “can be trisected” - and itself is a readily constructible angle (the equilateral triangle), but trisecting it is not possible. The rigorous proof of this impossibility is left to §7.
- Multiplying by costs nothing. The factor can be added freely: if you can construct the regular -gon, you can construct the regular -gon (bisect each arc, which needs only one perpendicular bisector). So the regular -gons are constructible, and the regular -gons are all constructible too.
- The list of constructible odd numbers of sides is extremely short. From the known Fermat primes take several “mutually distinct” ones and multiply them, also counting “taking none at all” (the empty product , corresponding to being a pure power of ), and there are only combinations in total. Listing the odd numbers of sides other than the empty product gives ( slots in between and ). is the fourth smallest among them, and the first that is “non-trivial to the point of surprise” - this is exactly why Gauss shook the mathematical world back then (only after solving this problem, when not yet nineteen, did he decide to devote himself to mathematics).
1.5 The arithmetic heart of necessity: the degree must be a power of
Why exactly Fermat primes in the criterion? This subsection gives the intuitive chain (for the complete proof see Wantzel’s degree criterion in §7); it translates “geometrically constructible” into “arithmetically, the exponent is a power of ”, connecting exactly back to §1.2.
Step one - turn geometry into coordinates. Put the regular -gon into the unit circle with the first vertex pinned at ; then the adjacent vertex is . Constructing the regular -gon constructing the real number (with this horizontal coordinate, the vertical coordinate is obtained from the equation of the unit circle by taking one square root, and the remaining vertices are copied by equal arcs). So the problem falls entirely onto whether one real number can be constructed.
Step two - the “degree” of a constructible number must be a power of . Each straightedge-and-compass step (line meets line, line meets circle, circle meets circle) solves at most one quadratic equation in coordinates, that is, introduces at most one square root. Stringing the whole construction together, any constructible number lies at the top of a tower of extensions that is “quadratic at each layer”, and so its algebraic degree
must be a power of (this is the core of Wantzel 1837; §7 gives the rigorous argument by the tower multiplication formula).
Step three - compute the degree of . For a prime , it can be proved (§2 of this series has proved that , over , has degree , and for a general prime the same argument gives ):
Step four - put it together. If the regular -gon is constructible, then by steps two and three, must be a power of , so is a power of , that is, of the form . And by the proposition of §1.2, being prime forces to be a power of , so is a Fermat prime. This explains why the criterion must involve Fermat primes - they are the only arithmetic outlet for the geometric constraint “the degree is a power of ”.
Where the three great problems belong (please do not lump them together): Wantzel’s ruler of “the degree must be a power of ”
only
directly closes off
doubling the cube
(requires constructing , degree ) and
trisecting an arbitrary angle
(e.g. satisfies an irreducible cubic equation, degree ) - these two problems; both are out because “degree ” appears. But
squaring the circle
does not rest on Wantzel: it requires constructing , and the root of ‘s non-constructibility is that
** in 1882**
(
) proved that
is transcendental
(not even an algebraic number, let alone constructible). So the full stop on the third problem was put down by Lindemann, not Wantzel. §7 will prove these three separately.
1.6 Worked examples: quickly deciding a few regular polygons with the criterion
Example 1.1 (, constructible).
, the exponent is a power of , and is prime, so is the Fermat prime . is a power of → the regular 17-gon is
constructible
.
Example 1.2 (, not constructible).
is not a power of ; and has no integer solution ( is not a power of ) → is not a Fermat prime → the regular heptagon is
not constructible
. Likewise for the regular -gons: and are neither powers of , so neither is constructible.
Example 1.3 (, not constructible).
The odd prime factors of are the repeated Fermat prime , violating “mutually distinct” → the regular nonagon is
not constructible
(equivalent to not being trisectable: the regular nonagon requires constructing , and ).
Example 1.4 (, constructible).
and are two
different
Fermat primes, and the product satisfies the criterion → the regular 15-gon is
constructible
(already known to Euclid). Multiplying further by powers of : the regular -gons are all constructible too.
# §1 verification — pure stdlib, runs clean.
def is_power_of_two(n: int) -> bool:
return n >= 1 and (n & (n - 1)) == 0
# 1) Fermat numbers F_k = 2**(2**k) + 1, and 17 = F_2.
F = [2 ** (2 ** k) + 1 for k in range(6)]
assert F[:5] == [3, 5, 17, 257, 65537]
assert F[2] == 17, "17 = F_2"
# 2) F_5 is composite (Euler 1732): a single trial division by 641 catches it.
assert F[5] == 4294967297
assert F[5] % 641 == 0
assert F[5] == 641 * 6700417
print(f"F_5 = {F[5]} = 641 x 6700417 (641 | F_5 in one division)")
# 3) Lemma engine: if 2**m + 1 is prime, then m is a power of 2.
# Contrapositive: an odd factor e>1 of m (m=d*e) yields the proper
# divisor 2**d + 1 of 2**m + 1, via (x+1) | (x**e + 1) with x = 2**d.
def proper_divisor_from_odd_factor(m: int):
e = 3
while e <= m:
if m % e == 0: # e is an odd factor > 1
d = m // e
assert (2 ** m + 1) % (2 ** d + 1) == 0 # 2**d+1 divides 2**m+1
assert 1 < 2 ** d + 1 < 2 ** m + 1 # and it is proper
return 2 ** d + 1
e += 2
return None
for m in range(1, 40):
val = 2 ** m + 1
is_prime = val > 1 and all(val % q for q in range(2, int(val ** 0.5) + 1))
witness = proper_divisor_from_odd_factor(m)
if is_prime:
assert witness is None and is_power_of_two(m)
print("Checked m=1..39: 2**m + 1 prime => m is a power of 2")
# 4) Constructibility test via degree (p-1)/2 being a power of 2.
for p in [3, 5, 17, 257, 65537, 7, 11, 13]:
deg = (p - 1) // 2 # = [Q(cos 2pi/p) : Q]
verdict = "constructible" if is_power_of_two(deg) else "NOT constructible"
print(f" p={p:>5}: (p-1)/2 = {deg:>5} power of 2? {is_power_of_two(deg)!s:>5} -> {verdict}")
print("OK")
The run output confirms: is broken by a single division; within , whenever is prime its exponent is necessarily a power of ; are constructible, and are not.
1.7 Modern significance
This criterion welds the most ancient of tools, “a straightedge and a compass”, to the language of fields and degrees of extensions that only matured in the nineteenth century, and its echoes go far beyond geometry itself:
- A problem of more than two thousand years, closed along two timelines. The three great ancient Greek construction problems (doubling the cube, trisecting the angle, squaring the circle), counted from about BC (Anaxagoras thinking about squaring the circle in prison), were only finally settled by Wantzel 1837 and Lindemann 1882, a span of about two thousand three hundred years. That is one line. The other line is the construction of regular polygons: after Euclid (about BC) gave the regular -gons, the list of odd prime numbers of sides made no progress at all for over two thousand years, until Gauss added the regular 17-gon in 1796 - the two “millennial scales” refer to different things; do not merge them into one number.
- The rarity of Fermat primes is still an open frontier today. Apart from , humanity has not found another Fermat prime to this day, and many Fermat numbers after have been verified to be composite; “are there only finitely many Fermat primes” is an unsolved mystery of number theory. This means that whether the list of “regular polygons with a constructible odd number of sides” is closed is, in essence, an open problem.
- The same criterion idea of “the degree is a power of ” is exactly the embryo of Galois theory (§4): translate a geometric/equation problem into a problem about the structure of groups and fields, and then read off the answer from “the number of layers of the tower”. This paradigm of “first translate, then use structure to decide possible or impossible” later governed the whole territory from the solution of algebraic equations by radicals (Abel–Galois) to modern computational complexity.
In the year he was not yet nineteen, Gauss used the regular 17-gon to show: sometimes the fastest path to answering “can it be done” is not to do it more cleverly, but to move the problem into an algebraic world where all the possibilities can be seen clearly - and is exactly the first pass that this world handed to geometry.
— End of §1.
§2 — Multiplication on a clock: and its generator
To understand how Gauss “took apart” the regular 17-gon, we first have to get to know a small algebraic world: multiplication modulo 17. This section starts from zero - it does not assume you have studied group theory. We will first use the picture of a clock to make the objects clear, then formalize it, and finally prove one key fact: by repeatedly multiplying with just one number, , you can walk through all the nonzero remainders modulo 17. This property of “walking through everything” is the entire foundation for the layer-by-layer root-taking of the next three sections.
Additional notation for this section
| Notation | Reading / meaning |
|---|---|
| the world of remainders modulo 17, , where addition, subtraction and multiplication all “wrap around” (like a 17-hour clock) | |
| the set formed by the nonzero remainders above, , under multiplication (16 in all) | |
| the order of : the number of times must be multiplied by itself to return to for the first time | |
| generator / primitive root: an element with (multiplying by itself it can traverse all 16) | |
| , the primitive -th root of unity on the unit circle of the complex plane |
2.1 The world modulo 17: a 17-hour clock
An ordinary clock has 12 hours, and after 12 it wraps around to 1. Change the number of hours to 17, and you get : all integers are classified by “their remainder on division by 17”, leaving only the 17 representatives . After two numbers are added or multiplied, anything over 16 has a multiple of 17 subtracted to wrap it back. For example
The notation "" is read ” is congruent to modulo 17”, meaning that they have the same remainder on division by 17 (they differ by a multiple of 17).
Why pick 17? Because 17 is prime - it has no factors other than 1 and itself. This guarantees something good: among , any number can be “divided by” (each has a multiplicative inverse). For example, above shows that is the reciprocal of . So these 16 nonzero remainders form a closed little world of their own under multiplication, written . (If the modulus is not prime, for example modulo 6, then , multiplication “falls out” of the nonzero set, and this good property is gone.)
2.2 “Order”: how long self-multiplication takes to return to 1
In this world of multiplication, pick a number and multiply it by itself repeatedly, and sooner or later you return to (because there are only finitely many values, it must cycle; and is certainly in the cycle). The number of times needed to return to for the first time is called the order of the number.
Try it with :
It took 8 steps to return to , so . Note that the orbit of , , has only 8 numbers - it cannot walk through all 16.
2.3 The generator : walking step by step over the whole clock face

The generator : from 1, repeatedly walks in turn through all 16 nonzero remainders () and then returns to the start - the literal image of “generating”. — Animation: Abel (Manim)
Switch to , and repeatedly :
Keep walking, and the orbit is
the 16 numbers traverse to exactly, with no repeats and no omissions, and only at the 16th step does it return to . That is, . A number like this, whose “self-multiplication can walk through the whole”, is called a generator (or primitive root): it is like the second hand of a clock; each jump of one notch (one ), and jumps go exactly once around the clock face, stepping on every hour.
Compare the of 2.2 (which steps on only 8 points before returning early to the start), and you can feel intuitively what is special about a “generator”: not every number can generate; only one that can generate deserves to be called a primitive root. is the smallest primitive root modulo 17, and we use it throughout what follows.
This “renumbering the remainders by powers of ” is the
core trick
of the whole article. We do not look at these remainders in the natural order , but line them up by which power of they are. We will see later: once this order of lining up is fixed, the symmetry of the regular 17-gon becomes a simple “shift of index”.
2.4 Making it rigorous: is a cyclic group of order 16,
Make the intuition above rigorous. “Order” has a basic property (the special case of Lagrange’s theorem in the cyclic situation): must divide the number of elements of the group, . So can only be one of the divisors of : .
Proof. To prove , it suffices to rule out all the proper divisors . Note that they all divide , so ” is some proper divisor” would imply . So one only needs to check one condition, , to rule out all the proper divisors at one stroke. Square repeatedly:
We get , so ; combined with , the only possibility is . (QED)
Since there exists an element of order , the whole of is exhausted by its powers, that is, is a cyclic group, .
2.5 The key foundation: the degree of over is exactly 16
All the later claims that “the symmetry group has 16 elements” and “each layer of extension has degree 2” hang on a fact that must be proved (not assumed): the lowest-degree equation with rational coefficients satisfied by has degree exactly 16.
is a root of . Removing the factor , it lies on the cyclotomic polynomial
We prove that is irreducible over (it cannot be further decomposed into a product of polynomials of lower degree with rational coefficients). The trick is to substitute and then use the Eisenstein criterion:
Because is prime, all the middle binomial coefficients () are divisible by ; the constant term is , divisible by but not by ; the leading coefficient is not divisible by . This satisfies the Eisenstein criterion exactly (with the prime ), so is irreducible, and hence is irreducible. Therefore
This step is the load-bearing wall of the whole piece: precisely because the degree is , the “symmetry group” of (the Galois group of §4) really has elements, and equals the whole of rather than some subgroup of it; otherwise all of the later ”, four layers of quadratic extensions” would come to nothing. (Without this step, could in principle satisfy an equation of lower degree, and the whole tower would collapse.)
2.6 Worked examples: generator vs non-generator
Example 2.1 ( is a generator).
The length of the orbit of powers of , traversing the whole of - see 2.3.
Example 2.2 ( is not a generator).
The orbit of powers of , , has only elements, missing . Checking the order: , and , so .
**It walks only half the circle.
Example 2.3 (smaller orders).**
(since , ); (, ). The smaller the order, the shorter the orbit, and the further from “generating”.
# Verify orders + that 3 is a primitive root mod 17; spot-check Phi_17 degree.
def order(a: int, n: int = 17) -> int:
x, k = a % n, 1
while x != 1:
x = (x * a) % n
k += 1
return k
assert order(3) == 16, "3 should be a primitive root (order 16)"
assert order(2) == 8, "2 reaches only half"
assert order(4) == 4 and order(16) == 2
# 3 visits every nonzero residue exactly once:
assert {pow(3, k, 17) for k in range(16)} == set(range(1, 17))
print("ord(3)=16 primitive root; cycle =", [pow(3, k, 17) for k in range(16)])
# Phi_17 irreducible (proved via Eisenstein on Phi_17(x+1)) => [Q(zeta_17):Q] = 16.
# Cross-check the degree: deg Phi_17 = phi(17) = 16 (since 17 is prime, phi(17)=16),
# and confirm Eisenstein's hypotheses on Phi_17(x+1) hold at p=17.
from math import comb
# binomial coefficients C(17,k), k=1..16, are the non-leading coeffs of Phi_17(x+1):
mids = [comb(17, k) for k in range(1, 17)]
assert all(c % 17 == 0 for c in mids), "all middle coeffs divisible by 17"
assert mids[-1] % (17**2) != 0, "constant term C(17,16)=17 not div by 17^2"
print("Eisenstein at p=17 holds on Phi_17(x+1) => [Q(zeta_17):Q] = phi(17) = 16 [OK]")
2.7 Modern significance
“Repeated self-multiplication walking through the whole world of remainders” - the seemingly classical concept of the generator/primitive root is the heart of modern public-key cryptography:
- Diffie–Hellman key exchange (1976) is built precisely on, for a large prime , a primitive root : the two parties each take a secret exponent , publicly exchange , and each then computes as the shared key. The security comes from the discrete logarithm problem - given , recovering is computationally infeasible when is extremely large, even though the structure of “walking through” the whole guarantees that the values of are sufficiently uniform.
- The same “cyclic group + generator” structure also underpins ElGamal encryption, DSA digital signatures, and elliptic-curve cryptography (replacing the modular multiplicative group with the group of points on an elliptic curve, and the primitive root with a base point).
The cyclic structure of that Gauss studied in 1796 for a construction, and the mathematics that protects internet communications two centuries later, are the same object.
— End of §2.
§3 — Gauss periods: splitting the sixteen roots into two halves, forcing out the first
§2 arranged the world modulo 17 into a 16-notch “second-hand track” - the powers of the generator step in turn on all 16 nonzero remainders. Gauss’s stroke of genius was: do not try to solve head-on the degree-16 equation that satisfies, but group the 16 roots along this track and sum each group, so that the groups satisfy a simple quadratic equation among themselves. This section makes the “first cut”: split the 16 roots into two groups of 8 each, and prove that the sums of these two groups are exactly the two roots of - and so appears for the first time.
Additional notation for this section
| Notation | Meaning |
|---|---|
| quadratic residue | a remainder modulo 17 that “is the square of some number”; there are 8 |
| quadratic non-residue | a nonzero remainder modulo 17 that is not a square; there are 8 |
| the two first-level Gauss periods: sums of the roots of unity corresponding to QR / NQR | |
| among the 64 product terms of , the number of terms with exponent |
3.1 Intuition: why “summing in groups” is a good idea
Facing directly is hard - it satisfies a degree-16 equation. But the 16 roots, as a whole, have a great deal of symmetry (the cyclic structure of §2). Gauss’s idea is like cutting a cake: first cut the 16 roots into 2 pieces (each piece the sum of 8 roots, written ); these two pieces satisfy a quadratic equation, which is easy to solve; then cut each piece into 2 smaller pieces (the of §4), again a quadratic equation; cut 4 times like this, and each cut needs only the solution of a quadratic equation, the taking of one square root. 4 square roots drag down from the sky to the ground that straightedge and compass can reach. This section is the first cut.
3.2 What a quadratic residue is (define first, then use)
A nonzero remainder is called a quadratic residue (QR) if it “is a square” modulo 17 - that is, there exists some with . Otherwise it is called a quadratic non-residue (NQR).
Compute modulo 17 (beyond that they repeat symmetrically):
Removing duplicates gives 8 quadratic residues:
The connection with the generator of §2 (key): the quadratic residues are exactly the even powers of . The reason is short: an even power is of course a square, so it is a QR; conversely, the “kernel” of the squaring map has only the two elements ( only for , since 17 is prime), so the squaring map is 2-to-1 - elements map onto images, and these 8 images are all the QRs, exactly the 8 even powers. So
The figure below draws this: the 16 remainders are placed on the unit circle, and the QRs (ochre) and NQRs (blue) are split into two groups by the parity of the power of - these are exactly the members of , about to be defined.

3.3 The two first-level Gauss periods

The 16 roots split into two first-level Gauss periods: 8 (orange), 8 (blue). — Animation: Abel (Manim)
Summing the roots of unity corresponding to the QRs, and those corresponding to the NQRs, gives two numbers:
Each is a sum of 8 roots of unity. Below we prove that they satisfy a beautiful quadratic equation.
3.4 Proposition one:
The two groups of exponents together are exactly , so
And the sum of all 17 roots of unity is zero (, because they are the roots of , whose coefficient is 0). Removing gives . Hence
3.5 Proposition two: (with a complete account of the expansion)

The expansion of into terms: each nonzero remainder appears exactly 4 times, and the sum . — Animation: Abel (Manim)
This is the only step in this section that takes some effort. By definition, multiplying two sums of 8 terms gives product terms, each of the form :
Because , for each term only the exponent matters. Classify the 64 terms by , and write
We prove two things: (i) ; (ii) for each , .
(i) is impossible. means . Since , is a quadratic residue (). A residue times a residue is still a residue, so , when , is still in , and never falls into . So no legitimate gives , that is, .
(ii) Each nonzero exactly 4 times. Here we use a clean symmetry argument (not depending on , to avoid circularity):
- Step one (-shift): take any residue . Multiplying by sends and (residue times residue = residue, residue times non-residue = non-residue), so is a bijection of to itself, turning into . Hence . Moreover, under the action of “multiplying by QR”, the nonzero remainders split into exactly two orbits - itself and . So , on , takes a constant value , and on a constant value .
- Step two (-swap, welding the two constants into one): take any non-residue . Multiplying by swaps , so (note , ) is still a bijection of to itself, and . So ; and maps the class to the class, and vice versa. This step gives directly - without needing any information about whether are equal.
- Step three (counting): , and combined with this gives .
So each nonzero remainder appears exactly 4 times:
Why stress “not depending on ”: a common way of writing it uses the Galois automorphism to derive , and then divides by . But that requires knowing first that , and the cleanest reason for "" comes precisely from , which is about to be computed below - that would be
circular reasoning
. The NQR-swap argument above gets around this pit: it gives directly, without inverting cause and effect.
3.6 The first radical

- appears for the first time. — Abel (Manim)
By (1), (2) and Vieta’s theorem (the relation between roots and coefficients), are the two roots of
The discriminant is , so
appears for the first time. are both real (complex conjugation sends to , and , , so the two sums are unchanged by conjugation). Take (the larger), . It generates the first layer of the tower of fields, , - it can be constructed with a single square root, which is exactly what straightedge and compass can do.
3.7 Worked examples
Example 3.1 (checking the sum and product).
Numerically ✓; ✓.
Example 3.2 (spot check of ).
Take : count the pairs in with (requiring ): among the candidates, and are both out ();
the exactly pairs that are really legitimate are
(see the program enumeration below). Every nonzero gives 4, and gives 0.
# Verify (1),(2) and the count N(c) for eta_0 * eta_1.
QR = {1, 2, 4, 8, 9, 13, 15, 16} # = even powers of g=3 = squares mod 17
NQR = set(range(1, 17)) - QR # = {3,5,6,7,10,11,12,14}
assert QR == {pow(b, 2, 17) for b in range(1, 17)}, "QR = squares mod 17"
from collections import Counter
N = Counter((a + b) % 17 for a in QR for b in NQR)
assert N[0] == 0, "c=0 never occurs (-1 is a QR mod 17)"
assert all(N[c] == 4 for c in range(1, 17)), "each nonzero residue exactly 4 times"
assert sum(N.values()) == 64
import cmath, math
z = cmath.exp(2j * math.pi / 17)
eta0 = sum(z**a for a in QR).real
eta1 = sum(z**b for b in NQR).real
assert abs(eta0 + eta1 - (-1)) < 1e-9 # (1)
assert abs(eta0 * eta1 - (-4)) < 1e-9 # (2)
assert abs(eta0 - (-1 + math.sqrt(17)) / 2) < 1e-9
print(f"eta0={eta0:.4f}, eta1={eta1:.4f}; sum=-1, prod=-4; sqrt(17) born [OK]")
3.8 Modern significance
Gauss periods are not a one-off trick. Generalizing “grouping roots of unity by cosets of a subgroup and summing” gives the Gauss sums and period polynomials of modern number theory, which are:
- the core tool of the most concise proofs of quadratic reciprocity (the square of a Gauss sum gives , and the sign is exactly the sign in the reciprocity law);
- the computational skeleton of the class field theory of cyclotomic fields - the intermediate subfields generated by these periods correspond exactly to the subgroups of the Galois group (§4 will use this correspondence);
- the direct source of the cyclotomic periods in modern primality testing (e.g. the APR / APR-CL test, Adleman–Pomerance–Rumely 1983 + the practical Cohen–Lenstra variant) - APR is a primality test (it does no integer factorization), and its cyclotomic periods trace back to Jacobi sums.
A “summing in groups” done in order to draw a 17-gon grew into a common language of twentieth-century algebraic number theory.
— End of §3.
§4 — The group of symmetries: the Galois group, and the second and third cuts
§3 made the “first cut” - splitting the 16 roots into the two halves , forcing out . But that cut relied on something not yet explained: why does “multiplying the exponent by some power of ” map quadratic residues neatly to quadratic residues, and non-residues to non-residues? This kind of operation, “swapping roots without making a mess”, is exactly the protagonist of this section - the Galois group. It is the invisible skeleton behind Gauss’s whole method of cutting. This section starts from zero (it does not assume you have heard words like “group theory” or “Galois”): first explain in plain words what “symmetry” actually means, then formalize it as a group, then use it to make the second cut cleanly and neatly (, forcing out ), and make clear why each layer of the whole “tower of four quadratic extensions” has degree exactly 2.
Additional notation for this section
| Notation | Reading / meaning |
|---|---|
| the “root-swapping map” that replaces by , | |
| the Galois group: all root-swapping maps that leave the rational numbers fixed, forming a group under composition | |
| in this section we fix (using the primitive root of §2); it is the generator of the whole group | |
| the subgroup generated by repeatedly composing | |
| the two second-level Gauss periods: the 4-term sums obtained by cutting into two halves again | |
| the tower of fields: |
4.1 Intuition: what “symmetry of the roots” means
First set aside all terminology. is a root of the degree-16 equation (§2). Who are its “sibling roots”? Substitute the powers of
one by one into , and you will find that every one is a root - they are exactly the 16 seventeenth roots of unity on the unit circle other than , all solutions of .
Now do something that looks pointless: replace in the equation entirely by one of its sibling roots , leaving the rational numbers as they are. For example, replace every occurrence of by . Such a replacement is written . The key picture is:
These 16 roots are like 16 identical marbles laid out on a circle, and the world of the rational numbers
cannot tell which is which
- because they satisfy exactly the same equation , and rational coefficients cannot single out any one of them by name. So a rearrangement like “swap marble 1 for marble 3, marble 3 for marble 9……”, seen from the viewpoint of the rational numbers, is
the same as not moving at all
: any equality with rational coefficients that holds before the swap holds just the same after it.
Such a root swap, “equal to not moving at all in the eyes of the rational numbers”, is called a symmetry of over (technical term: a -automorphism). It necessarily sends roots to roots, preserves addition and multiplication, and fixes every rational number. All such symmetries put together are the Galois group. “Group” here only says: two symmetries done one after the other (composition) are still a symmetry, every symmetry can be undone (has an inverse), and the “identity” that swaps nothing also counts as one - the same kind of “stackable and reversible” structure as the moves of a Rubik’s cube or the rotations of the plane.
4.2 Numbering the symmetries:

Numbering the symmetries: ; the 16 maps form the Galois group . — Animation: Abel (Manim)
A symmetry is completely determined by which sibling root it sends to (because it preserves multiplication, knowing where goes means knowing everything). Write the symmetry "" as . Here can only take (taking would send to , which is not a sibling root, and is not allowed). When two symmetries are composed, the exponents multiply:
Do you see the trick? The “composition” of symmetries corresponds exactly to the “multiplication modulo 17” of the exponents - this is exactly the 16-hour multiplication clock of §2! So there is a natural correspondence
translating “composing symmetries” into “multiplying remainders”. This correspondence is an operation-preserving injection: different give different root swaps (sending to different siblings), and composition corresponds to multiplication.
But an injection is not enough - could the “root swaps” corresponding to some in fact not be legitimate symmetries (some rational equality being broken after the swap)? This is exactly where the “load-bearing wall” of §2 has to hold.
4.3 The key: (why all 16 symmetries are legitimate)
Each legitimate symmetry corresponds to a ; conversely, does every give a legitimate symmetry? This is equivalent to asking: can sending to an arbitrary sibling root be extended, without breaking any rational equality, to a symmetry of the whole field ?
The answer is yes, and the grounds are precisely ” is irreducible, ”, proved in §2.5. The standard consequence of this irreducibility is: any two roots of an irreducible polynomial are “algebraically indistinguishable” over , and sending one root to the other can always be extended uniquely to a symmetry of the field. The 16 roots of , , are therefore pairwise “interchangeable”, corresponding to 16 genuine symmetries. So the injection of 4.2 is in fact a surjection:
And §2 has proved that is the cyclic group of order 16 generated by the primitive root . Translated: the whole Galois group is also cyclic, generated by repeatedly composing the single symmetry
with . Under the order of §2, “renumbering the exponents by powers of ” ( written as number ), what does is extremely plain: it advances the “number” of every exponent by one notch, .
This is the true form of the knife of §3.
§3 said “multiplying by a residue maps QR to QR” - the residues are exactly the even numbers (even powers of ), and multiplying by is number , sending even numbers to even numbers. The so-called “symmetry of the Gauss periods” is, from start to finish, the incarnation of , this “number ”, at different step sizes.
⚠️
Without the irreducibility of §2.5, this section collapses at once.
If were reducible and the true degree of were , then some would no longer be legitimate symmetries, the group would have fewer than 16 elements, and the “four-layer quadratic tower” would be out of the question. This is why we call §2.5 the load-bearing wall of the whole piece.
4.4 Seeing degrees through symmetry: the stabilizer argument (why each layer has degree exactly 2)
With the group, one can explain why every cut is a quadratic equation without relying on “hard counting of period lengths”. Here one must take special care to avoid a circular trap: one cannot presuppose “the degree of is 2” in order to prove it, but must derive it step by step from the group structure - and, to derive “the degree is exactly 2”, one must split it into two halves: first pin the upper bound, then rule out “it is actually rational”.
The tool is the core correspondence of Galois theory - fixed subfield subgroup: for , its degree over , , equals the orbit length under the action of the whole group, and also equals , where is the stabilizer of (those symmetries that leave it unmoved). The orbit-stabilizer theorem guarantees that these three are equal (this uses that is a Galois extension, so that all the conjugates of are exactly its whole orbit).
Apply it to from the first cut, in two steps, whose order cannot be reversed:
- Step one (pin the upper bound, using only “which symmetries fix it”): moves every exponent number by and preserves parity, so it maps QR (the even numbers) as a whole back to QR; the summands of are only rearranged, and the value is unchanged - so fixes , and therefore the whole subgroup . And the order of is , so . By “the larger the stabilizer, the smaller the degree”: Note that one cannot yet write “degree ” here - we have only proved that is in the stabilizer, and have not yet ruled out the stabilizer being larger (which would drop the degree to 1).
- Step two (rule out degree , and pin down the stabilizer in passing): “degree ” means , that is, every symmetry fixes it (). To refute it, one only needs to actually exhibit a symmetry that moves away (the exhibit that Socrates’s P1-A② required, rather than an empty claim of “degree 2”): And is an odd number, and pushes all the even numbers into odd numbers, that is, . So (Numerically , , indeed not equal.) Since really moves , , the degree is not , and so .
Putting it together to close. is, in , a subgroup of index , and between it and the whole group there is no room for an intermediate subgroup; and , so squeezed in between, only one possibility remains: . So
The two “conjugates” of are exactly its orbit , of length , which corresponds exactly to the quadratic equation of §3. The key is: we never assumed “the degree is 2”; first the stabilizer pinned it to , then a specific ruled out , and was squeezed out.
This argument - ” fixes it degree , then exhibit a that moves it rule out degree , index has no intermediate layer, the stabilizer is pinned down, and the degree is exactly ” - applies equally to every cut, giving layer by layer
corresponding to a chain of subgroups in the group, , with all adjacent indices 2. Each layer down, the subgroup fixing it shrinks by half and the degree doubles, until the generator is trapped and we are back at itself.
4.5 The second cut: , forcing out
Now cut the of the first cut (8 terms, QR) into two halves again. How to cut? Continue with the numbers of §2: QR are the even numbers ; group them again by “number ” - those with number in one group, those with in the other. That is, cut using the subgroup (number ):
Here the exponent set of is (-numbers ), and the exponent set of is (-numbers ). Each is a sum of 4 terms.
Sum: the two groups together are exactly all 8 terms of , so
Product: this is the main point. Expanding gives product terms (). As in §3, classify them by the exponent , and write for the number of pairs giving that . Direct enumeration (see the verification block below) gives
So
Why is ? - here the reason of §3 cannot simply be copied (Socrates §4 finding). §3 used ” is a quadratic residue” to rule out , because there and , and for to hold, would have to jump to the other class. But now both belong to QR, and "" instead shows that is still in QR, so it does not stop anything at all. The correct reason is **
structural, looking at the numbers**:
(since , see §2.4). So “negation” is exactly taking the -number
. And the number set of , , under becomes -
still itself
(likewise for ‘s ); that is to say
So ” with ” cannot hold ( always stays on the side and cannot cross over to ), and therefore has no legitimate pair ().
The grounds are that the number sets are closed under , not the residuosity of .
By (1), (2) and Vieta’s theorem, are the two roots of
The discriminant is , so
Substitute the of the first cut (§3) into the discriminant and simplify:
so
The second radical, , is born here (the radicand is real, and constructible). Take the larger root
It generates the second layer of the tower of fields, , .
Parallel branch (kept in reserve for §5)
: if one starts from the other half of the first cut, , and likewise cuts it into two halves, the discriminant becomes , forcing out the
twin radical
. The two radicals enter together into the final closed form of (§5).
4.6 The tower of fields and worked examples: four layers of quadratic extensions, lands on the third layer

The tower of four quadratic extensions , each layer forcing out a radical; lands on the third layer. — Abel (Manim)
String the four cuts together, and you have a tower of extensions with four layers, each quadratic:
each layer of degree , total degree , fitting §2.5 seamlessly. Among them
is the maximal real subfield of (the half fixed by complex conjugation, the fixed field of ). The key fact:
Because is real, it lies in the real subfield ; constructing the regular 17-gon with straightedge and compass requires only constructing this real coordinate (§1), so three layers of root-taking are enough, and the layer (putting real part + imaginary part back together into the complete ) is not necessary for the construction. This is the structural reason why §5 gives a closed form of with three layers of nested radicals.
Example 4.1 (working out the composition of symmetries).
, (), (), (complex conjugation!). So the subgroup of the “third cut”, , has order , and has order 2 - the latter is exactly the 2-element subgroup that fixes , and its fixed field is exactly the real subfield .
Example 4.2 ( moves to ).
multiplies exponents by : . Hence , confirming the exhibit of 4.4: is irrational, of degree exactly 2.
Example 4.3 (numerical check of the second cut).
, ; ✓, ✓; , ✓.
# §4 verification — Galois group, stabilizer-degree, structural N(0)=0, 2nd radical.
# Pure stdlib (cmath/math/collections). Runs clean.
import cmath, math
from collections import Counter
z = cmath.exp(2j * math.pi / 17)
g = 3
gpow = [pow(g, k, 17) for k in range(16)] # index k -> residue g^k mod 17 (§2 ordering)
assert gpow == [1,3,9,10,13,5,15,11,16,14,8,7,4,12,2,6]
# --- Galois group: sigma = sigma_3 : zeta -> zeta^3 <=> exponent r -> 3r ; g-index m -> m+1 ---
def sigma_on_set(exps): # apply sigma_3 to a set of exponents
return {(3 * a) % 17 for a in exps}
QR = {pow(b, 2, 17) for b in range(1, 17)} # eta_0 carrier = even g-powers (QR)
NQR = set(range(1, 17)) - QR # eta_1 carrier = odd g-powers (NQR)
# Stabilizer-degree argument (Socrates P1-A2), in the NON-CIRCULAR order:
# step 1 (upper bound): sigma^2 (multiply exponents by g^2=9) fixes the QR carrier,
# so <sigma^2> (order 8) <= Stab(eta0) => deg(eta0) <= [Gal:<sigma^2>] = 2.
assert {(9 * a) % 17 for a in QR} == QR
# step 2 (exclude degree 1): exhibit sigma moving eta0 -> eta1, so eta0 is NOT rational.
assert sigma_on_set(QR) == NQR, "sigma swaps QR<->NQR => sigma(eta0)=eta1 != eta0"
# sandwich: <sigma^2> is index-2 (no intermediate subgroup) and Stab != Gal
# => Stab(eta0) = <sigma^2> exactly, deg(eta0) = 2 (not 1). Confirm full stabilizer:
stab_eta0 = {k for k in range(1, 17)
if abs(sum(z**((k*a) % 17) for a in QR) - sum(z**a for a in QR)) < 1e-9}
sub_sigma2 = set(); x = 1
for _ in range(8):
x = (x * 9) % 17; sub_sigma2.add(x) # <sigma^2> = <sigma_9>
assert stab_eta0 == sub_sigma2 and len(stab_eta0) == 8, "Stab(eta0) is EXACTLY <sigma^2>, |.|=8"
# --- second cut: eta_0 -> (theta_0, theta_1) by g-index mod 4 ---
theta0_idx = [gpow[m] for m in (0, 4, 8, 12)] # {1,13,16,4}
theta1_idx = [gpow[m] for m in (2, 6, 10, 14)] # {9,15,8,2}
assert set(theta0_idx) == {1, 4, 13, 16}
assert set(theta1_idx) == {2, 8, 9, 15}
# Structural N(0)=0 (NOT the §3 "-1 is a QR" reason): -1 = g^8, so negation = g-index +8,
# and each theta carrier is closed under +8 (mod 16) => a in theta_k => -a in theta_k.
for idx in (theta0_idx, theta1_idx):
assert {(-a) % 17 for a in idx} == set(idx), "negation stays inside the SAME period"
# Hence b == -a with a in theta_0, b in theta_1 is impossible -> N(0)=0.
N = Counter((a + b) % 17 for a in theta0_idx for b in theta1_idx)
assert N[0] == 0 and all(N[c] == 1 for c in range(1, 17)), "N(0)=0, every nonzero c exactly once"
# => theta_0 * theta_1 = sum_{c=1..16} zeta^c = -1 (no appeal to '-1 is a QR').
eta0 = sum(z**a for a in QR).real
theta0 = sum(z**a for a in theta0_idx).real
theta1 = sum(z**a for a in theta1_idx).real
assert abs(theta0 + theta1 - eta0) < 1e-9 # (1) sum = eta_0
assert abs(theta0 * theta1 - (-1)) < 1e-9 # (2) prod = -1
# Second radical: theta = (eta0 +/- sqrt(eta0^2+4))/2, and sqrt(eta0^2+4) = sqrt(34-2 sqrt17)/2.
s17 = math.sqrt(17)
assert abs((eta0**2 + 4) - (34 - 2*s17) / 4) < 1e-12
disc = math.sqrt(34 - 2*s17) / 2
assert abs((eta0 + disc) / 2 - theta0) < 1e-9
assert abs((eta0 - disc) / 2 - theta1) < 1e-9
# eta1-branch twin radical:
eta1 = sum(z**b for b in NQR).real
assert abs((eta1**2 + 4) - (34 + 2*s17) / 4) < 1e-12 # gives sqrt(34 + 2 sqrt17)
# Field tower degrees: K3 = Q(cos 2pi/17) real subfield = 2^3, K4 = Q(zeta17) = 2^4.
assert 8 == 2**3 and 16 == 2**4
cos1 = math.cos(2*math.pi/17)
assert abs((z + 1/z).real - 2*cos1) < 1e-12 # cos = (zeta + zeta^-1)/2 is real -> lives in K3
print(f"sigma(eta0)=eta1={eta1:.4f} != eta0={eta0:.4f}; Stab(eta0)=<sigma^2> (|.|=8) => deg(eta0)=2")
print(f"theta0={theta0:.4f}, theta1={theta1:.4f}; sum=eta0, prod=-1 (structural N(0)=0, no '-1 is QR')")
print(f"2nd radical = sqrt(34-2sqrt17)/2 = {disc:.4f}; eta1-branch -> sqrt(34+2sqrt17)={math.sqrt(34+2*s17):.4f}")
print("field tower: K3=Q(cos 2pi/17)=2^3, K4=Q(zeta17)=2^4, cos in K3 [OK]")
4.7 Modern significance
§4 raised a seemingly classical picture - “rearranging the roots of unity without the rational numbers noticing” - into a group, and this is exactly the origin of Galois theory. Its modern echoes reach far beyond construction:
- The Galois correspondence (subgroup intermediate subfield) is the heart of the whole theory. The chain of subgroups in this section, , corresponds one to one with the tower of fields - “the substructure of the group” and “the substructure of the field” are mirror images of each other. The 17-gon is constructible essentially because this group is a 2-group (of order ), and each layer can be climbed with one square root.
- The same framework explains why general equations of degree five and higher have no solution by radicals (Abel–Ruffini and Galois): the Galois group of the general quintic is , which is not a solvable group (it has no such chain of normal subgroups “of degree 2/prime degree layer by layer”), so however radicals are nested, they cannot reach the roots - a perfect contrast with the 17-gon “being able to climb up”. Niels Henrik Abel, who lent the name Abel to this agent, was exactly one of the first to prove this impossibility (MacTutor: Abel; for Évariste Galois’s idea of the symmetry group see MacTutor: Galois).
- This language of “symmetry group + chain of subgroups” is active today in places far beyond the theory of equations: coding theory (the root sets of cyclic codes correspond to cyclotomic cosets), cryptography (for the finite field , the Frobenius automorphism is precisely a generator of a Galois group), and even the Langlands program of modern number theory (connecting representations of Galois groups with automorphic forms). The 16 root-swapping symmetries that Gauss played with in 1796 in order to draw the 17-gon are one of the sources of this main line (Disquisitiones Arithmeticae §343–366 systematically records the cyclotomic periods and this structure of symmetries).
— End of §4.
§5 — Drawing in the net: the explicit closed form of and where the innermost radical comes from
§3 made the first cut ( roots two groups of each, forcing out ), and §4 made the second and third cuts (, forcing out the layer ). This section makes the last cut: solve one more quadratic equation for the “two-term periods”, each group of which has only terms left, and is written completely as a string of nested radicals.
More important is to answer a question about the v0 draft that Socrates caught: the radicand written in the innermost layer, the most frightening-looking one,
(here we give the innermost radicand a name, - below we will prove that it is exactly times the discriminant of the quadratic equation of the last cut.)
Where exactly does it come from? v0 only said “obtained by simplification” and reported a numerical value. This section gives its real identity: it is exactly times the discriminant of the quadratic equation of the last cut - and we will derive this equality symbolically from the beginning (not write out first and then go back to check the numbers). is “constructible” precisely because each of these four cuts only solves a quadratic equation and takes one square root - it never needs a cube root.
Additional notation for this section
| Notation | Reading / meaning |
|---|---|
| , the primitive -th root of unity on the unit circle of the complex plane () | |
| , the target we are finally after (divide by to get the ) | |
| , the partner that, with , lives in the same -group | |
| the second-level period of §4 ( terms), | |
| the -term period (index set ), which will appear as | |
| abbreviations (the radical of the second cut, §4), (the radical of the branch) | |
| the first three layers of the tower of fields: , , (degree , ) | |
| the innermost radicand (notation): |
5.1 Intuition: cutting the “four-cut cake” all the way through
Recall the picture of §3: the roots of unity are like candles stuck into a cake. Gauss does not try to solve that degree- equation head-on, but cuts it in half repeatedly, and each cut needs only the solution of one quadratic equation:
By the third cut, each “group” has only a sum of terms left - for example (this is exactly , because , and adding conjugates gives twice the real part). The last cut is exactly separating and its partner , and the radical that comes out of the discriminant of the quadratic equation the two of them satisfy is exactly that lump in the innermost layer of the closed form.
Remember the conclusion first, in one sentence: the innermost radical the source of the discriminant of the quadratic equation of the last cut. It is not a “result of simplification” dropped from the sky, but the necessary product of “separating and “.
5.2 The target and its partner: and live in the same group
What we really want is
§4 has already cut the -term into two -term periods, one of which is
Pair the four terms of two by two into conjugates ( with , with ), and you get two “two-term periods”:
Clearly
This is the “sum” of the last cut. was already written in §4 as a closed form containing only the first two layers of radicals (quoted as (5) below), so the right-hand side of (1) is a known number belonging to . All that is missing is their “product”.
5.3 The key step: the product is a -period
Multiply the two two-term sums, expand into terms, and add the exponents modulo :
Use to reduce the exponents to : , . So
These four indices happen to make up another -term period (they are all non-residues in the sense of §3, belonging to a small group cut out of the branch). This is exactly the miracle of Gauss’s method “closing on itself”: multiplying two two-term periods gives not a tangled mess, but another Gauss period - a number that lives in and can be expressed with the first two layers of radicals.
Its closed form in is given by a derivation of exactly the same type as in §4 (only falling on the branch): and its partner on the same branch, , satisfy and , that is, the quadratic equation . Its discriminant is , so ; taking the larger root gives
Note that appears in (3) - this is exactly the radical given by the branch in §4. Remember this: the reason pops up in the innermost layer of the closed form has its root right here - is a period of the branch.
5.4 The last cut: solving for , and deriving the innermost radical symbolically

The explicit closed form of emerging layer by layer; the four nested radicals correspond to the “four cuts”. — Animation: Abel (Manim)
By (1) and (2), and are the two roots of the same quadratic equation
(Vieta’s theorem: the sum is , the product is ). Take the larger root ():
Now do the symbolic derivation that P1-C requires - compute the discriminant of , , step by step into explicit radicals, and watch it grow by itself into that lump in the innermost layer (we do not copy in advance, but let it “fall out” of the computation). Substitute the closed form of from §4
First compute . Expand the square of the numerator, , and then use :
Divide both sides by :
On the other side, from (3) we have . So times the discriminant is
Combine the constant and terms (, ):
At this point we have not yet reached : (6b) contains an annoying mixed term (that is, , a doubly nested radical), which on the surface cannot be eliminated. The real key lies in this step - it rests on an explicit radical identity that “welds” the branch and the branch together:
Proof of . Both sides are positive, so it suffices to compare squares. The square of the left-hand side is
and the square of the right-hand side is ; the two are equal, so holds. (QED)
From , solve (substituting ), and substitute back into the mixed term in (6b):
So (6b) collapses cleanly into
(6) is the answer, and it was derived symbolically all the way: the mixed term was neither ignored nor “matched numerically by luck”, but was rewritten exactly by the identity as a combination of and and then cancelled naturally. Conclusion: the innermost radicand was not cobbled together - it is exactly the discriminant of the quadratic equation that “separates ”, , namely , multiplied by . So
Substitute back into (4), use , and substitute from (5) and :
This is exactly the Gauss-style explicit closed form. The four nested levels correspond one to one to the four cuts: (first cut, §3), (second cut, §4), and on to that outermost (third and fourth cuts written out together, this section). Throughout, only square roots appear, with no cube roots or roots of any higher degree - this is the whole algebraic meaning of “constructible with straightedge and compass”.
Why this step is the “load-bearing check” that v0 had to fill in: the v0 draft wrote (6) as “obtained by simplification”, silently handing the only really difficult cancellation (the elimination of the mixed term ) over to a numerical check. But if and the discriminant were only equal by numerical coincidence, the closed form would become a “magic number that happens to match”, and readers could not believe it really comes from Gauss’s layer-by-layer method. Now (6) is nailed down by , a
radical identity that can be verified by hand
: the identity of is the discriminant of , with no second interpretation, and no step hidden in code.
5.5 P2: why “each cut raises only one square root” - the degree of the intersection of two circles
All four cuts above are quadratic equations, and behind this is a hard constraint of straightedge-and-compass construction, which is left to be used formally in Wantzel’s degree criterion in §7; here we first point out its geometric root. Each straightedge-and-compass step is nothing more than “line meets line / line meets circle / circle meets circle”. The first two clearly solve at most a quadratic equation. The intersection of two circles seems to require solving a quartic, but in fact does not. Let
Subtract the two equations, and the quadratic part is eliminated entirely, leaving only a line (called the radical axis of the two circles):
So “circle circle” degenerates into “circle line”, which is still quadratic. Conclusion: at each intersection point of straightedge and compass, the coordinates add at most one square root to the existing number field - never introducing a cube root in one step. This is exactly the geometric counterpart of (7) being all square roots, and hence of being constructible; conversely, whatever requires a cube root (such as doubling the cube, , or trisecting ), straightedge and compass are powerless against (proved in detail in §7).
5.6 Worked example: numerical values layer by layer, confirming that every radicand is always positive

Substituting numerical values layer by layer: the innermost layer , and finally , agreeing with . — Abel (Manim)
Compute (7) once from the inside out, checking along the way that the number under each layer of radical is (otherwise the closed form would fall into the complex numbers, and the construction would be impossible):
| Quantity | Expression | Value |
|---|---|---|
| first layer | ||
| second layer | ||
| auxiliary | ||
| innermost | ||
| outermost | ||
| total | ||
| result |
This agrees completely with the direct computation . Note : this is not a coincidence, but is guaranteed by (6) - it equals the discriminant , and since are two different real numbers, the discriminant must hold.
Example 5.1 (self-check of the partner relation).
, ; the sum ✓, the product ✓. So are indeed the two roots of .
Example 5.2 (numerical witness of the welding identity ).
; ✓. It is exactly this equality that reduces the mixed term of (6b) to a simple combination of .
Example 5.3 (discriminant ).
; multiplying by gives ✓. This is the numerical witness of (6).
# §5 verification (pure stdlib: cmath + math). Confirms the closed form (7),
# the partner relations (1)(2)(3), the welding identity (dagger), and the
# CORE claim (6): inner == 4 * (theta0^2 - 4*theta') [discriminant of x^2 - theta0 x + theta']
import cmath, math
z = cmath.exp(2j * math.pi / 17) # zeta_17
# Target and its partner (two-term periods inside theta_0):
alpha = (z**1 + z**16).real # = 2 cos(2pi/17)
alphap = (z**4 + z**13).real # = 2 cos(8pi/17)
# The 4-term periods:
theta0 = sum(z**k for k in (1, 4, 13, 16)).real
thetap = sum(z**k for k in (3, 5, 12, 14)).real # = theta' (indices {3,5,12,14})
# (1) sum = theta0 ; (2) product = theta'
assert abs(alpha + alphap - theta0) < 1e-12, "(1) alpha + alpha' = theta_0"
assert abs(alpha * alphap - thetap) < 1e-12, "(2) alpha * alpha' = theta'"
s17 = math.sqrt(17)
A = math.sqrt(34 - 2 * s17) # second-layer radical
B = math.sqrt(34 + 2 * s17) # eta_1-branch radical
# (5) theta0 closed form ; (3) theta' closed form (both in K_2)
assert abs(theta0 - (-1 + s17 + A) / 4) < 1e-12, "(5) theta_0 closed form"
assert abs(thetap - (-1 - s17 + B) / 4) < 1e-12, "(3) theta' closed form"
# (dagger) the welding identity that collapses the mixed term sqrt(17)*A:
assert abs((s17 + 1) * A - 4 * B) < 1e-12, "(dagger) (sqrt17+1)*A = 4B"
# ---- CORE (6): innermost radicand == 4 * discriminant of (star) ----
disc = theta0**2 - 4 * thetap # discriminant of x^2 - theta0 x + theta'
inner = 17 + 3 * s17 - A - 2 * B # the printed innermost radicand
assert abs(4 * disc - inner) < 1e-10, "(6) inner == 4*(theta0^2 - 4 theta')"
assert inner > 0, "innermost radicand is positive (alpha != alpha')"
# (4)+(7): rebuild 16 cos(2pi/17) from the nested closed form
alpha_from_disc = (theta0 + math.sqrt(disc)) / 2 # (4), larger root
sixteen_cos = -1 + s17 + A + 2 * math.sqrt(inner) # (7)
assert abs(8 * alpha_from_disc - sixteen_cos) < 1e-10
assert abs(sixteen_cos - 16 * math.cos(2 * math.pi / 17)) < 1e-10
print(f"sqrt17={s17:.4f} A=sqrt(34-2sqrt17)={A:.4f} B=sqrt(34+2sqrt17)={B:.4f}")
print(f"(dagger): (sqrt17+1)*A = {(s17+1)*A:.6f} == 4B = {4*B:.6f}")
print(f"inner = 4*(theta0^2-4 theta') = {inner:.6f} (>0)")
print(f"16 cos(2pi/17) = {sixteen_cos:.6f} => cos = {sixteen_cos/16:.6f}"
f" = cos({math.degrees(2*math.pi/17):.4f} deg) [closed form (7) OK]")
5.7 Modern significance
This chain of “relaying quadratic equations” - each step solving only a quadratic and taking only one square root - is not just a clever trick for drawing a 17-gon; it is the oldest and most concrete example of the modern main line of Galois theory, “solvability solvability of the group”:
- The turn in the theory of equations: precisely because has a chain of subgroups (index at each step) can be solved by radicals layer by layer through quadratic equations. The same language, in the hands of Abel (1824) and Galois (1832), gave no solution by radicals for the quintic - the symmetry group of the general quintic has no such chain “halving step by step” (it is not solvable). The 17-gon is the lighthouse on the “solvable” side. (For their lives see the MacTutor entries on Abel and Galois.)
- Computable decision for nested radicals: “layer upon layer of nested square roots” like (7) have mature simplification and decision algorithms in today’s computer algebra systems (SymPy’s
sqrtdenest/minimal_polynomial, Maxima, PARI/GP) - deciding whether an algebraic number can be written as real nested quadratic radicals is equivalent to deciding whether its Galois closure is a -group, which is exactly the algorithmic incarnation of Gauss’s 1796 criterion. The welding identity of this section is exactly a miniature example of the most common kind of such simplification, “two layers of radicals opening into each other”. - From constructibility to cryptography: the cyclic group of §2, the Gauss periods of §3, and the layer-by-layer quadratic tower of this section together make up a complete anatomy of the cyclotomic field; and the cyclotomic field is exactly the algebraic stage on which modern lattice cryptography (such as schemes based on Ring-LWE) works. The algebra Gauss did for a compass and a straightedge became, two centuries later, the foundation of post-quantum cryptography.
Gauss held this result close to his heart and asked for it to be carved on his tombstone (the regular 17-gon, see Disquisitiones Arithmeticae §365, 1801); Wantzel 1837 (J. Math. Pures Appl. 2, 366–372) completed “constructible the degree is a power of ” into a necessary and sufficient condition; Lindemann 1882 (Math. Annalen 20) used the transcendence of to close the great door of squaring the circle; Richmond 1893 (Quarterly J. Pure Appl. Math. 26, 206–207) translated the closed form of this section into the compass steps of §6 that one can really hold in one’s hand. A complete chain from the radicals of (7) to a regular 17-gon on paper is thereby closed.
— End of §5.
§6 — Richmond 1893: twenty steps to draw on paper
The previous three sections (§3–§5) have already turned into a string of nested square roots. But “can be written with square roots” is still only constructible algebraically; to convince people that it really can be drawn geometrically with an unmarked straightedge plus a compass, each square root still has to be made real as an actual line, an actual circle, an actual intersection point. In 1893, H. W. Richmond of Cambridge gave a surprisingly concise scheme (Richmond 1893, Quarterly Journal of Pure and Applied Mathematics 26, 206–207) - it does not even need to draw explicitly that long string of radicals from §5, but uses two clever angles and one circle to directly fix the projections of the vertices , on the -axis, and then fills in all 17 vertices.
This section breaks Richmond’s original construction into 20 “single-stroke” stages (honest count: each stage adds exactly one line, one circle or one intersection point, plus the erasing of a few auxiliary lines). Every step diagram is paired with the geometric/algebraic grounds behind that step - diagram and derivation are one inseparable unit. Readers starting from zero can get all the way through by looking only at the diagrams and the plain words of each step; for readers who want to be strict, the coordinates given at each step have all been independently verified numerically to (verification script in §6.7).
Additional notation for this section
| Notation | Meaning |
|---|---|
| the center of the circle, taken as the coordinate origin | |
| the intersection of the horizontal radius with the circle, by convention the -th vertex | |
| the intersection of the vertical radius with the circle | |
| the quarter point of , () | |
| two points on the line of fixed by two angles; key: is on the negative -half-axis | |
| the intersection of the circle with diameter with | |
| the two intersections of the circle with center and radius with (projections of vertices) | |
| the points on the circle where the perpendiculars through to land = the true rd and th vertices |
The route in one sentence: first use angles to fix at and at ; then use a circle to “translate” the information of into the radius ; this radius makes the two points that the circle cuts on the -axis exactly and - that is, the horizontal coordinates of the vertices . With in hand, the remaining vertices can be stepped off with the compass by equal arcs.
6.1 Intuition first: why “two angles + one circle” is enough

The whole process of Richmond’s 1893 twenty-step straightedge-and-compass construction (circle, two radii, quarter point, two key angles, translating circle, raising the vertices step by step). — Animation: Abel (Manim)
In the closed form given by §5, is four layers of nested radicals. If one insisted on drawing every layer of radical with straightedge and compass (each corresponding to one “intersection of a circle and a line”), the steps would be very long-winded. Richmond’s cleverness lies in this: he does not draw itself, but draws the cosines corresponding to a pair of “second-level Gauss periods” - and .
This pair of numbers has an excellent property (§6.6 will compute it for you): their sum and difference are both quantities of very simple structure, which can be caught at one stroke by quartering an angle (fixing ) and one deflection (fixing ). So:
- the horizontal coordinate of the point the half-sum of this pair of cosines;
- the length the half-difference of this pair of cosines.
One circle (center , radius ) encodes the “half-sum” and the “half-difference” at the same time, and its two intersections with the -axis, , are exactly these two cosines. This is why “two angles + one circle” is enough to fix the vertices - all the information of the four layers of radicals is compressed by Richmond into the quartering of , the deflection, and that one circle.
6.2 Getting started: the circle, two radii, the quarter point (stages 1–5)

Stage 1 (draw the circle, center ). Fix the unit circle and its center . The whole construction is done on this one circle, and the final regular 17-gon is inscribed in it.

Stage 2 (draw the horizontal diameter → vertex ). Through draw the horizontal diameter, meeting the circle on the right at . By convention is the -th vertex - the angles of all vertices are counted from here, and the -th vertex is at angle .

Stage 3 (draw the vertical radius ). Through draw the radius perpendicular to , meeting the circle above at . will provide the vertical scale used later to fix . A perpendicular only needs “the line joining the intersections of two circles”, which is a legitimate straightedge-and-compass operation.

Stage 4 (bisect → midpoint ). Draw the perpendicular bisector of , giving the midpoint . Bisecting a segment is the most basic straightedge-and-compass operation (draw two circles of equal radius centered at the two endpoints, and join their intersections). This step prepares for bisecting once more in the next step.

Stage 5 (bisect → quarter point ). Bisect once more, giving , that is, . Two bisections give “one quarter” - this is the only specific ratio used in Richmond’s construction, and the angles of the next section are all generated from it.
6.3 Two key angles: fixing and (stages 6–9)
This is the “algebraic heart” of the whole construction: using two angles at , catch the half-sum and half-difference information of that pair of cosines at one go.

Stage 6 (join ). Join and . In the right triangle , , so
This is the “mother angle” of all the later angles.

Stage 7 (bisect twice → fix ). Quarter (two successive angle bisections, both legitimate straightedge-and-compass operations), and take the part next to , . The ray meets at . So
This is exactly the half-sum of that pair of cosines mentioned in §6.1 (verified in §6.6).

Stage 8 (at , from turn → lands on the negative -half-axis). With as vertex, from the ray , in the direction opposite to , turn out (a angle can be constructed with straightedge and compass: first construct a right angle, then bisect it); the ray meets the line of at . The key detail: is not on the side of , but on the other side of - the negative -half-axis. Check: the angle on the side of is then , so
A step often drawn wrong in history: early retellings often put on the side of (positive ). Once the sign is reversed, the later intersection point lands at the wrong horizontal coordinate (rather than the true value ), and all the vertices are wrong.
being on the negative half-axis
is the lifeline of this construction’s correctness.

Stage 9 (erase the auxiliary lines of the angles). Once are fixed, the three rays , , have done their job, and are erased to keep the picture clean. Keep the two points , and .
6.4 One circle translates into a radius (stages 10–14)

Stage 10 (bisect → midpoint). Take the midpoint of and , . This is the center of the circle of the next step.

Stage 11 (draw the circle with as diameter). With the midpoint of the previous step as center and as radius, draw a circle. By Thales’s semicircle theorem, every point lying on this circle satisfies - this is exactly the geometric device used in the next step to “take a square root”.

Stage 12 (mark circle). This circle meets the vertical radius at . Since and , the projection theorem (geometric mean) for right triangles gives , that is,
This step uses a circle to draw “the square root of the product of two lengths” - this is the standard method of taking square roots with straightedge and compass.

Stage 13 (draw the circle with center and radius ). Take the distance from to as the radius:
With as center and as radius, draw a circle. This radius is exactly the half-difference of that pair of cosines in §6.1 (verified in §6.6).

Stage 14 (mark circle). The circle meets the horizontal axis at two points :
The key fact (verified both numerically and symbolically, see §6.6–6.7):
Because is the half-sum of this pair of cosines and is the half-difference, “half-sum half-difference” restores exactly the two cosines themselves - this is the whole secret of how Richmond uses one circle to fix the projections of two vertices at the same time.
6.5 Raising the vertices, stepping off the rest (stages 15–20)

Seventeen equally spaced vertices joined into a complete regular 17-gon; the whole figure rotates once to bring out the symmetry. — Animation: Abel (Manim)

Stage 15 (erase the auxiliary circles and the used-up labels). With now fixed on the -axis, the circle , the circle and intermediate elements such as leave the stage, and the picture keeps only two vertical lines still to be drawn.

Stage 16 (through draw the perpendicular to → ). At draw the perpendicular to , meeting the circle above at
Its polar angle - exactly the rd vertex. Because the polar angle of the point on the unit circle with horizontal coordinate is exactly , and .

Stage 17 (through draw the perpendicular to → ). Likewise raise a perpendicular at , giving
that is, the th vertex (). At this point the three true vertices are in hand.

Stage 18 (erase the auxiliary lines). The two perpendiculars and projection elements such as have done their job and are erased, keeping only the three points on the circle.

Stage 19 (step with a fixed-length chord → all 17 vertices). Take the chord spanning an arc of of a turn, , as the “compass opening”, and starting from step along the circle continuously, crossing vertices each time: . Because
stepping with step length modulo traverses all vertices with no repeats and no omissions (, verified). So the repeated “pacing” of this one fixed-length chord alone fills in all the vertices - with no need to reconstruct the angles one by one.

Stage 20 (join in order → the regular 17-gon). Join the vertices into chords in adjacent order, completing the regular 17-gon. Every stroke throughout is an actual line, an actual circle or an actual intersection point, strictly satisfying the definition of a straightedge-and-compass construction. This is the discovery of that morning of Gauss in 1796 (Disquisitiones Arithmeticae §365), made real by Richmond in 1893 as twenty steps that can be drawn by hand.
Honest count: the above is
20 stages, not 21. Of these, are clean-up steps of “erasing auxiliary lines” (stages ), which add no geometric element but are listed separately for the clarity of the picture; the real “construction primitives” (line/circle/intersection) number about . Any retelling that calls it “21 steps” counts one step too many.
6.6 Worked example: why is the half-sum and the half-difference
What this section most deserves to have checked by hand is the core claim of stage 14, “half-sum half-difference restores the cosines”. Nail it down with numbers:
Example 6.1 (half-sum).
The sum of this pair of cosines
half of it , which, with the computed in stage 7,
agrees
. That is, .
Example 6.2 (half-difference).
Half the difference of this pair of cosines
with the of stage 13,
agrees
. That is, .
Example 6.3 (restoring).
So
This is exactly the elementary identity of “turning sum and difference into the two numbers”: given the sum and the difference of two numbers, the two numbers are . Richmond encodes into the position of and into the radius of the circle, and the two intersections of one circle with the -axis are automatically those two numbers.
Example 6.4 (stepping traversal).
Step length , modulo : - stepping exactly once on each of to , and at the th step returning to . Only a step length not coprime to would get stuck ( is prime, and the only nonzero step lengths not coprime to it are multiples of , that is ); for the prime , any can traverse everything, and is taken only because is already at hand.
6.7 Verification script
The pure Python below (using only the standard library math) starts from , recomputes each key point following Richmond’s twenty steps, and checks the landing points against the true vertices, the half-sum and half-difference, and the stepping traversal - all assertions pass.
# Richmond 1893 — re-derive every key point from scratch, verify to 1e-5.
import math
from math import atan, tan, sqrt, cos, pi, gcd
OI = 0.25 # I = (0, 1/4); OB = 1
# stage 6-7: angle OIA = arctan(OA/OI) = arctan 4, quartered -> E
ang_OIA = atan(1.0 / OI) # = arctan 4
ang_OIE = ang_OIA / 4.0
Ex = OI * tan(ang_OIE) # E_x
# stage 8: turn 45 deg from IE at I, F on the NEGATIVE-x side
ang_OIF = math.radians(45.0) - ang_OIE # F-side angle
OF = OI * tan(ang_OIF)
Fx = -OF # F is on negative x (the sign-flip guard)
assert abs(math.degrees(ang_OIE + ang_OIF) - 45.0) < 1e-9 # angle EIF = 45 exactly
assert abs(Ex - 0.08604) < 1e-4 and abs(Fx - (-0.12198)) < 1e-4
# stage 10-12: circle on diameter AF meets OB at K; OK^2 = OA*OF (geometric mean)
Ky = sqrt(1.0 * OF) # = sqrt(OA * OF)
assert abs(Ky - 0.34926) < 1e-4
# stage 13-14: circle(center E, radius EK) meets OA at E_x +/- EK
EK = sqrt(Ex**2 + Ky**2)
N3, N5 = Ex + EK, Ex - EK
assert abs(N3 - cos(6 * pi / 17)) < 1e-5 # N3 = cos(6 pi/17), vertex 3 foot
assert abs(N5 - cos(10 * pi / 17)) < 1e-5 # N5 = cos(10 pi/17), vertex 5 foot
# half-sum / half-difference identity (the heart of 6.6)
assert abs(Ex - 0.5 * (cos(6*pi/17) + cos(10*pi/17))) < 1e-5 # E_x = half-sum
assert abs(EK - 0.5 * (cos(6*pi/17) - cos(10*pi/17))) < 1e-5 # EK = half-diff
# stage 16-17: perpendiculars land on the TRUE vertices 3 and 5
for N, k in [(N3, 3), (N5, 5)]:
theta = math.degrees(math.atan2(sqrt(1 - N*N), N))
assert abs(theta - k * 360.0 / 17) < 1e-3
# stage 19: gcd(3,17)=1 => stepping by 3 visits all 17 vertices
assert gcd(3, 17) == 1
assert sorted({(3 * k) % 17 for k in range(17)}) == list(range(17))
print(f"E_x={Ex:.5f} F_x={Fx:.5f}(neg) EK={EK:.5f}")
print(f"N3={N3:.5f}=cos6pi/17 N5={N5:.5f}=cos10pi/17 [all asserts OK]")
E_x=0.08604 F_x=-0.12198(neg) EK=0.35970
N3=0.44574=cos6pi/17 N5=-0.27366=cos10pi/17 [all asserts OK]
6.8 Modern significance
Richmond’s twenty steps look like no more than a small piece of classical geometry, but the ideas it embodies can be seen everywhere today:
- The paradigm of “compress - decode”. Richmond did not laboriously draw the fourfold radical of §5 layer by layer, but found a set of well-structured intermediate quantities (the cosines of a pair of second-level Gauss periods), used the fewest geometric actions (two angles + one circle) to encode their “sum” and “difference” at one go, and then used one circle to decode two vertices at the same time. This way of thinking, “project a complicated object onto a good basis and restore it in bulk with algebraic identities”, is exactly the spirit of modern signal processing and the fast Fourier transform (FFT) - splitting an -point DFT recursively by odd/even or coprime factors, with only one butterfly merge at each layer. The fast summation algorithm Gauss himself wrote down while studying cyclotomy and trigonometric interpolation is generally recognized as the historical forerunner of the FFT (Heideman–Johnson–Burrus 1984).
- Coprime stepping = a generator of a cyclic group. Stage 19’s ”, so step length traverses all vertices” is the additive version of the same thing as §2’s ” is a generator of , and self-multiplication walks through the whole”: in the additive cyclic group , the element generates the whole group if and only if . Today error-correcting codes (such as Reed–Solomon) and cyclic shift registers in cryptography both rely on “a coprime step length traversing the whole” to guarantee coverage and diffusion.
- Drawable by hand = verifiable. Richmond insisted that every step be an actual line, an actual circle, an actual intersection point, so that this construction can be reproduced independently by anyone with straightedge and compass, and checked independently with coordinates (as in §6.7). This standard of “a completely transparent process, and a result that can be independently recomputed” is exactly the goal pursued by modern formalized mathematical proof (Coq / Lean): every step reduced to an atomic operation that can be checked mechanically.
A twenty-step procedure used in 1893 to draw a 17-gon packages three mathematical tastes that continue to this day: compression and decoding, traversal of cyclic groups, and verifiable construction.
— End of §6.
§7 — Necessity: why most figures cannot be drawn (Wantzel 1837 + Lindemann 1882)
The previous six sections have all been doing the positive thing: how Gauss cut , cut by cut, down to ground that straightedge and compass can reach. But ” can be drawn” is only half of the story. What is really astonishing is its reverse side - the vast majority of things you would like to draw can never be drawn. The regular heptagon cannot be drawn, doubling the cube cannot be drawn, trisecting an ordinary angle cannot be drawn, and turning a circle into a square of equal area cannot be drawn either. This section gives the key that closes these great doors: a degree criterion. Pierre Wantzel proved it on one page in 1837, cleanly killing two of these ancient Greek problems of more than two thousand years; the remaining “squaring the circle” had to wait until Lindemann 1882 proved transcendental to be finally sealed off.
This section also answers the question that runs through the whole article: why is it exactly that survives? The answer will fall out naturally - because is exactly a power of , and its arithmetic root is exactly that is a Fermat prime (§1).
Additional notation for this section
| Notation | Reading / meaning |
|---|---|
| constructible number | a real number (coordinate) that can be fixed, starting from the unit length, by finitely many straightedge-and-compass steps |
| the degree of the number over : the degree of the lowest-degree equation with rational coefficients that it satisfies | |
| a power of (); the “pass” that Wantzel’s criterion requires | |
| the cube root of , the side length that the problem of doubling the cube requires constructing | |
| algebraic number / transcendental number | a number satisfying some equation with rational coefficients / a number satisfying no such equation (such as ) |
| Eisenstein criterion | a sufficient condition that uses a prime to decide at a glance that a polynomial is irreducible |
7.1 Intuition: each move of straightedge and compass only “takes one square root”
Leave formulas aside for now, and think about what straightedge and compass can actually do. You have only two tools in hand:
- the straightedge - draws a straight line through two known points;
- the compass - draws a circle with a known point as center and the distance between two known points as radius.
Where do new points come from? There are only three kinds of intersection: line meets line, line meets circle, circle meets circle. Translate them into coordinate equations: a line is a linear equation, a circle is a quadratic equation.
- Two lines meeting: solving two linear equations, the new coordinates obtained are rational operations (addition, subtraction, multiplication, division) on the known coordinates, introducing no radical at all.
- Line meeting circle: substituting the line into the circle gives a quadratic equation, and the new coordinates take at most one more square root.
- Two circles meeting: subtracting the equations of the two circles, the square terms cancel exactly, leaving a line (called the radical axis of the two circles). So “circle meets circle” degenerates into “line meets circle”, and likewise takes at most one square root.
In one sentence: each stroke of straightedge and compass adds at most one more layer of square roots to the coordinates. All the numbers you can construct are nothing more than what is piled up, starting from the rational numbers, by repeatedly taking square roots and doing rational operations. This is the entire intuitive source of the criterion that follows - constructible = a string of square roots stacked up.
7.2 Formalization: the degree of a constructible number must be a power of (Wantzel’s degree criterion)
Put the intuition of 7.1 into the language of fields. A field is a set of numbers closed under addition, subtraction, multiplication and division (such as , ). “Taking one square root over the known quantities” corresponds to enlarging the current field into () - this is called one quadratic extension; its “dimension” (as a vector space over ) is , written .
Notation reminder: the tower below uses the letters ; it is a “general-purpose scaffold” put up temporarily for
any one
constructible number , and it is a different thing from the tower belonging specifically to the regular 17-gon in §3–§5 (, ); do not mix them up.
So “each step takes at most one square root” from 7.1, translated, is: every constructible number lies at the top of a tower of quadratic extensions
(The purely rational steps that introduce no new radical can be merged, so we may assume every layer is a genuine quadratic extension.) Next, use a basic fact that is like a “multiplication table” - the tower multiplication formula (degree multiplicativity): if , then
(Intuitively: the “size of the basis” of over equals the product of the basis sizes of the two stages, first to , then from to - like the number of squares in an grid.) Multiply layer by layer up the whole tower:
Finally, use the tower multiplication once more: because , divides . And the divisors of can only be powers of again. So we obtain
Wantzel’s degree criterion (1837).
If the real number can be constructed with straightedge and compass, then must be a power of :
This is a pass check: any number that wants to be constructed with straightedge and compass must first pass the gate “the degree is a power of ”. Note the direction - it is a necessary condition (constructible power of ). If a number’s degree is not a power of , it is out on the spot, and there is no need to start drawing at all. The three ancient Greek problems below are exactly the ones blocked dead by this gate (or by its strengthened version with transcendental numbers).
A historical note:
(1814–1848) published this result in his early twenties (– years old; the paper appeared in the 1837 volume, and his age differs depending on whether it is taken before or after his birthday in month , June), and was the first person in history to prove rigorously that these classical constructions are
impossible
. Before him, people already strongly suspected they could not be drawn, but “cannot be drawn” and “proving it can never be drawn” are worlds apart - the latter requires translating “the power of straightedge and compass” into algebraic degree, which is exactly what Wantzel did.
7.3 Doubling the cube: why is out (degree )
![Wantzel 1837: doubling the cube (\sqrt[3]{2}, degree 3) and the general trisection of an angle (60^\circ, degree 3) are both out. — Abel (Manim)](/content/images/2026/05/fig_s7_3_wantzel_xmarks.png)
Wantzel 1837: doubling the cube (, degree 3) and the general trisection of an angle (, degree 3) are both out. — Abel (Manim)
The problem (said to originate in a plague on Delos, when an oracle demanded that the volume of a cubical altar be doubled): given a cube of edge (volume ), construct a cube of volume - that is, construct the new edge length .
Proof. is a root of . To compute its degree, first prove that is irreducible over (it cannot be further decomposed into factors of lower degree with rational coefficients). Use the Eisenstein criterion with the prime , and check the coefficients of (from the leading term to the constant term, in order, ) one by one:
- the leading coefficient is not divisible by ;
- the other coefficients are all divisible by ;
- the constant term is not divisible by .
The three conditions hit Eisenstein’s hypotheses exactly, so is irreducible. Therefore it is the minimal polynomial of ,
is not a power of . By Wantzel’s criterion (7.2), is not constructible. Doubling the cube is impossible. (QED)
7.4 Trisecting a general angle: why trisecting is out (degree )
The problem: trisect an arbitrary given angle with straightedge and compass. Note that some special angles can be trisected ( is easy), so to prove “impossible”, it suffices to give one angle that cannot be trisected. The most classic counterexample is (which is itself constructible - the interior angle of the equilateral triangle).
Proof. Let (that is, a third of ). Use the triple-angle formula , taking , :
To prove that has degree , it suffices to prove that is irreducible over . A cubic polynomial is reducible over it has a rational root (because if it can be factored at all, it must contain a linear factor). So it suffices to prove that it has no rational root. Use the rational root theorem: if the fraction in lowest terms is a root, then and . So the only candidates are
Substitute them one by one (worked example 7.6 below + the python block give the values of all ), and not one makes the polynomial zero. So has no rational root it is irreducible
again not a power of . By Wantzel’s criterion, is not constructible. cannot be trisected, so the trisection of a general angle is impossible. (QED)
The echo of §1: this also explains why the regular -gon cannot be drawn. Constructing the regular -gon constructing , and (doubling an angle is constructible), , which drags us back to the same cubic obstacle of trisecting (degree , consistent with this section’s argument for trisecting ). Arithmetically, contains the
repeated
Fermat prime - this is exactly the case where “mutually distinct” in the criterion of §1, ”,
mutually distinct
”, is violated. A repeated Fermat prime factor = a residual cubic obstacle = cannot be drawn.
7.5 Squaring the circle: this one Wantzel cannot lock out; it takes Lindemann

Lindemann 1882: is transcendental constructible algebraic squaring the circle is closed. — Abel (Manim)

Ferdinand von Lindemann (1852–1939), who proved in 1882 that is transcendental. Wikimedia Commons, PD (the only low-resolution portrait on Commons).
The problem: given a circle of radius (area ), construct a square of equal area - that is, construct the side length .
This is the deepest of the three problems. Wantzel’s degree criterion has no purchase here: it deals with problems internal to algebraic numbers, such as “is the degree a power of ”, while is not an algebraic number at all. What really seals it off is a result of a completely different order:
Lindemann’s theorem (1882).
is a
transcendental number
- it does not satisfy
any
nonzero polynomial equation with rational coefficients.
Proof. With this key, the argument is done in one step. All constructible numbers are algebraic numbers (by 7.2: a constructible number lies in a finite extension of , and naturally satisfies some equation with rational coefficients). Suppose were constructible; then would be an algebraic number; but algebraic numbers are closed under multiplication, so would also be an algebraic number - contradicting Lindemann. So is not constructible. Squaring the circle is impossible. (QED)
Please keep this division of labor firmly in mind; it is the point on which §1 and this section must agree:
| Problem | Obstacle | Who sealed it off |
|---|---|---|
| doubling the cube | , not a power of | Wantzel 1837 |
| trisecting the angle | , not a power of | Wantzel 1837 |
| squaring the circle | is transcendental (not even an algebraic number) | Lindemann 1882 |
Wantzel’s degree criterion closed the first two at one stroke; the third lies beyond what “degree” can describe, and had to wait for Lindemann to prove the transcendence of . Crediting squaring the circle to Wantzel is a common historical error - this article does not make it.
A historical note:
(1852–1939) built his proof on the method by which Hermite in
proved transcendental, generalizing it to . From ancient Greece to this point,
a span of about two thousand three hundred years
(the earliest explicit attempt at squaring the circle can be traced back to Anaxagoras around BC; it was sealed off in ).
7.6 Worked example: closing the door of trisection by hand with the rational root theorem
Substitute, one by one, into all candidate rational roots, and see how far from zero they are (not one hits):
| Candidate | A root? | |
|---|---|---|
| No | ||
| No | ||
| No | ||
| No | ||
| No | ||
| No | ||
| No | ||
| No |
No rational root the cubic is irreducible . Numerically, verify that really is a root: .
Contrast with the survival of : the regular -gon constructing , whose degree is - exactly a power of , passing Wantzel’s pass check. This is the essential divide between and , : it is not that ” is especially hard”; quite the opposite, its degree is especially tame (it is , not or some odd composite), so it can be taken level by level by the four layers of square roots of §3–§6.
7.7 Verification (pure Python / stdlib)
# Section 7: the necessity side — Wantzel's degree criterion at work.
# (1) doubling the cube, (2) trisecting 60 deg, (3) why 17 survives.
from fractions import Fraction as F
import math
# ---- (1) Doubling the cube: x^3 - 2 has NO rational root -> irreducible (deg 3).
def cube(x): return x**3 - 2
# rational-root candidates: p | 2 (const), q | 1 (leading) -> +-1, +-2
cube_cands = [F(1), F(-1), F(2), F(-2)]
assert all(cube(c) != 0 for c in cube_cands), "x^3-2 has no rational root"
print(f"[doubling cube] cbrt(2) ~= {2**(1/3):.6f}, deg 3 (not a power of 2) -> impossible")
# ---- (2) Trisecting 60 deg: cos20 satisfies 8 t^3 - 6 t - 1 = 0.
def p3(x): return 8*x**3 - 6*x - 1
t = math.cos(math.radians(20))
assert abs(p3(t)) < 1e-9, "cos20 is a root of 8t^3-6t-1"
# rational-root theorem: p | 1 (|const|), q | 8 (leading) -> +-1, +-1/2, +-1/4, +-1/8
tri_cands = [F(s, d) for d in (1, 2, 4, 8) for s in (1, -1)]
assert all(p3(c) != 0 for c in tri_cands), "no rational root -> 8t^3-6t-1 irreducible"
print("[trisect 60] candidate -> value:")
for c in tri_cands:
print(f" t={str(c):>4}: 8t^3-6t-1 = {p3(c)}")
print(f" cos20 ~= {t:.6f}, deg 3 (not a power of 2) -> impossible")
# ---- (3) Why 17 survives: [Q(cos 2pi/17):Q] = (17-1)/2 = 8 = 2^3 IS a power of 2.
deg17 = (17 - 1) // 2
assert deg17 == 8 == 2**3, "[Q(cos 2pi/17):Q] = 8 = 2^3"
print(f"[regular 17-gon] [Q(cos 2pi/17):Q] = {deg17} = 2^3 (a power of 2) -> CONSTRUCTIBLE")
# ---- bonus: regular 9-gon fails for the SAME deg-3 reason (9 = 3^2, repeated Fermat prime)
def p9(x): return 8*x**3 - 6*x + 1 # cos(2pi/9)=cos40 solves 4c^3-3c=cos120=-1/2
c9 = math.cos(2*math.pi/9)
assert abs(p9(c9)) < 1e-9 and all(p9(c) != 0 for c in tri_cands), \
"cos(2pi/9) also deg 3 -> regular 9-gon impossible (repeated Fermat prime 3)"
print("[regular 9-gon] cos(2pi/9) deg 3 -> impossible (9=3^2 repeats Fermat prime 3)")
print("all section-7 necessity checks pass")
Run output (checked): doubling the cube / trisecting / the regular -gon are all out because their degree , and only the regular -gon passes, because its degree .
7.8 Modern significance

The family of Fermat primes (3 / 5 / 17 / 257 / 65537) corresponds to five constructible polygons; the 65537 sides grow denser step by step, until to the naked eye it is no different from a circle. — Animation: Abel (Manim)
The real weight of Wantzel’s one page of 1837 lies not in “solving three more ancient problems”, but in its demonstrating a completely new way of thinking:
- Translating “power” into an “invariant”. The physical operations of straightedge and compass are compressed into a purely algebraic number, . Once the translation is done, “impossible” is upgraded from “we have not yet found a way” to “a mathematical theorem that no way at all exists”. This is exactly the core later shared by Galois theory and the Abel–Ruffini unsolvability of the quintic - using invariants of groups and fields to decide the fundamental limits of a whole class of operations.
- Proofs of impossibility became a business in their own right. From Wantzel to Lindemann, and on to Gödel’s incompleteness in the th century, Turing’s undecidability of the halting problem, and the lower bounds of computational complexity - modern science has a whole branch devoted to proving “it cannot be done”. Doubling the cube and trisecting the angle are the earliest source of this line of thought, one that can be explained on a single page.
- The beginning of transcendental number theory. Lindemann’s treatment of , together with Hermite’s treatment of , gave rise to the discipline of transcendental number theory, leading directly to profound results of the th century such as the Gelfond–Schneider theorem (on when is transcendental).
Back to the main line that runs through the whole article: the three great ancient Greek problems trapped humanity for about two thousand three hundred years, and the construction of regular polygons also stalled for over two thousand years (from Euclid around BC to Gauss’s breakthrough in 1796; see Disquisitiones Arithmeticae §365 for details). That could survive in this wilderness of “impossible” is not luck, but a precise arithmetic condition protecting it: is a Fermat prime is a power of it passes Wantzel’s criterion it is reachable by four layers of square roots (§3–§5) a straightedge and a compass really can draw it (§6, the elegant construction of Richmond 1893). The positive “constructible” and the negative “not constructible” share the same degree criterion - this is exactly the unified viewpoint that algebra gave to geometry after Gauss.
— End of §7.
7.9 Historical sources: Wantzel and Lindemann, the men and their work
In the Disquisitiones Arithmeticae of 1801, Gauss proved the sufficient direction of the constructibility criterion: as long as (the distinct Fermat primes), the regular -gon can be constructed with straightedge and compass. But he did not prove the necessary direction (conversely: if this condition is not satisfied, it certainly cannot be constructed) - Gauss himself asserted necessity, but gave no proof.
The one who completed this step was the French mathematician Pierre Laurent Wantzel** (1814–1848)**. In 1837 he published the paper “Research on the means of recognizing whether a problem of geometry can be solved with straightedge and compass” (Recherches sur les moyens de reconnaître si un Problème de Géométrie peut se résoudre avec la règle et le compas), in the Journal of Pure and Applied Mathematics (Journal de Mathématiques Pures et Appliquées), volume 2, pages 366–372. This paper proved necessity rigorously for the first time, completing what is today called the Gauss–Wantzel theorem.
The same paper also, in passing, put an end to two ancient Greek problems that had troubled the mathematical world for more than two thousand years: doubling the cube (the minimal polynomial of has degree 3, and cannot fit into a tower of extensions of degree a power of 2) and the trisection of an arbitrary angle (the general case comes down to an equation of degree 3). Wantzel died young, at only 33, and this foundational paper was seriously underestimated for a long time after his death.
The last of the three problems to fall was squaring the circle - what it requires is not only “the degree is not a power of 2”, but that is not an algebraic number at all. In 1882, Ferdinand von Lindemann proved that is transcendental (the paper “On the number π” Über die Zahl π, in the Mathematical Annals, Mathematische Annalen, volume 20, pages 213–225); his proof was built on Hermite’s 1873 result on the transcendence of and on Euler’s identity . A number constructible with straightedge and compass must be algebraic; since is transcendental, it is not constructible, and squaring the circle is therefore impossible. Counting from when the ancient Greeks (Anaxagoras, around the 5th century BC) posed it, it took about two thousand three hundred years, and with this all three great problems were brought to a full stop.
§8 History and significance
8.1 1796-03-30: the first entry in the diary
On the morning of March 30, 1796, Gauss wrote the first entry in his mathematical diary (Mathematisches Tagebuch), in Latin:
“Principia quibus innititur sectio circuli, ac divisibilitas eiusdem geometrica in septemdecim partes etc.”
(The principles on which the division of the circle rests, and its geometric divisibility into seventeen parts, etc.)
This diary, kept from 1796 to 1814, has 146 entries in all; it was only rediscovered in 1897, first published by Felix Klein in 1903 in the Mathematical Annals (Mathematische Annalen), and later included in volume 11 of Gauss’s collected works (Werke). When he wrote this first entry, Gauss was not yet 19 - he was born on April 30, 1777, and this day was still exactly one month short of his 19th birthday.
8.2 1801: Disquisitiones Arithmeticae §365–§366

The title page of the Disquisitiones Arithmeticae, Leipzig 1801 - Chapter VII, §365–§366, gives the constructibility criterion. Wikimedia Commons, PD.
Five years later, in 1801, Gauss published the Arithmetical Investigations (Disquisitiones Arithmeticae, completed in 1798 and sent to press in 1801; the link is a digitized scan of the first Latin edition of 1801), a book of 366 articles in all. Among them, §365–§366 of Chapter VII (the theory of the division of the circle, cyclotomy) - which are also the last two articles of the whole book - give the sufficient condition for a regular polygon to be constructible with straightedge and compass:
The corresponding to the regular 17-gon is exactly the first “new” constructible regular polygon after Euclid.
8.3 Fermat primes and the later 257-gon and 65537-gon

The first page of the manuscript of J. G. Hermes’s Diary of the Division of the Circle (Diarium Kreisteilung) - he spent about ten years calculating the construction of the regular 65537-gon by hand; it is kept in Göttingen. Wikimedia Commons, PD.
The Fermat numbers . Only five Fermat primes are known:
After Gauss’s 17-gon of 1796: an explicit construction of the regular 257-gon was given by Richelot in 1832; the regular 65537-gon was completed by Johann Gustav Hermes in 1894 - he spent ten years on it, leaving about 200 pages of manuscript; the paper “On the division of the circle into 65537 equal parts” (Über die Teilung des Kreises in 65537 gleiche Teile) was published in the proceedings of the Göttingen Society of Sciences (Nachrichten, 1894, pages 170–186), and the manuscript is kept at the University of Göttingen to this day (digitized).
From on, all those known at present are composite - Euler as early as 1732 found that is not prime. Whether a sixth Fermat prime exists is still an unsolved mystery to this day.
8.4 The three great problems of two thousand years

The 1482 Ratdolt printing of Euclid’s Elements, with construction diagrams in the margins - the source of the tradition of straightedge-and-compass construction. Wikimedia Commons, PD.
The three ancient Greek straightedge-and-compass construction problems - squaring the circle, doubling the cube, trisecting the angle - troubled the mathematical world for more than two thousand years. Book IV of Euclid’s Elements gives only the constructions of the regular 3-, 4-, 5-, 6- and 15-gons; for over two thousand years afterward, the construction of regular polygons made almost no progress at all - until Gauss’s 17-gon of 1796, the first breakthrough after Euclid.
Gauss’s real contribution was not “drawing it”, but his proving “why it can be drawn”: the boundary of straightedge-and-compass construction is ultimately decided by the algebraic symmetry of number fields (whether it can be reached layer by layer through a chain of square roots). This viewpoint translated a two-thousand-year-old geometric problem into a problem about the symmetric structure of numbers - this is exactly the forerunner of later Galois theory.
8.5 Background: the patronage of the Duke of Brunswick
Gauss came from humble origins, and his education benefited from the patronage of the Duke of Brunswick (Duke of Brunswick, Carl Wilhelm Ferdinand). He studied at the University of Göttingen in 1795–1798 - the breakthrough of the 17-gon happened right at the beginning of this period of sponsored study.
A widely circulated anecdote (hard to verify from primary sources; best regarded as legend): it is said that Gauss once wished to have a regular 17-gon carved on his tombstone, and the stonemason politely declined on the grounds that “once carved, it would be mistaken for a circle”, so a seventeen-pointed star was carved instead.
§9 Closing
As was said at the beginning of the video, Gauss had such astonishing insight when he was young that it filled me, then in high school, with deep admiration.
This blog post writes down all the derivations that there was no time to unfold in the video. The video version (with animation and narration) is here: YouTube · timeobserver137.
If you find an error in the video or the blog post, or are interested in what I do, you are also welcome to leave a message in the comments below the video or by email.
Thank you for watching.
timeobserver137 · timeobserver137.cyou · mathematical derivations: Abel | historical fact-checking: Gauss | logic review: Socrates | composition and media: Escher | publication: Euler