Carl Friedrich Gauss proved the constructibility with straightedge and compass of the regular heptadecagon in 1796. This was a major discovery that shook mathematics - besides the equilateral triangle and the regular pentagon, and from these the regular pentadecagon, no more odd-sided regular polygons were known to be constructible. This construction was a masterpiece of fine mathematics, and contains the core ideas of a richest and vastest field in Algebra - Galois Theory

And we would like to dig in from scratch... so switch on your math neurons!!

Gauss was clever enough to translate this geometric problem into an algebraic one. Vertices of regular polygons - this sounds like complex numbers! Yes, the geometric plane becomes the complex plane, and finding points is finding complex numbers. And because of the geometric properties of the product of complex numbers, the $n$-th roots of the unit, that is, the $n$ solutions of the equation

form a regular $n$-agon around the origin, one of its vertices being the most obvious root $x=1$

The first root encountered counterclockwise after $1$ is usually called $\omega_n$. Look, it works!

The computations for the pentagon would be much longer. But it's also more subtle. It involves *nested square roots*

Well, that's not so bad for our straightedge-and-compass first steps. Circles enable drawing square roots of given measures, and we may draw as many circles as we want. Yes, constructible points are exactly those whose complex coordinates involve additions, substractions, products, quotients, and square roots, combined again and again finitely many times. Think about it. But in spite of this apparent flexibility and the ease of the first cases, not every $\omega_n$ follows (not at all!) this pattern; if not entirely convinced, try to find an expression for $\omega_7$ and it'll soon turn out a nice headache. $\omega_7$ is not constructible. But $\omega_{17}$ *is* constructible - that's precisely what Gauss proved, and what shook mathematics so heavily

Let's begin by meeting our new friends - $\zeta=\omega_{17}$ and all its powers, which compose our regular heptadecagon (there are just 17 different powers, because $\zeta^{17}=1$!)

Just to get familiar with them, remember that they all satisfy the equation

but $x=1$ is one of these roots, and we may factor out

so all the powers of $\zeta$ except $\zeta^0=1$ make up the 16 roots of

Multiplying powers of $\zeta$ yields powers of $\zeta$ (no big discovery...); exponents add up, but since $\zeta^{17}=1$, addition works modulo 17

This is indeed isomorphic to $(\mathbb{Z}_{17},+)$, the cyclic group of order 17. The set of powers of $\zeta$ works with product, $\mathbb{Z}_{17}$ work with addition modulo 17. $0$ is the identity element and $1$ is a generator

In Group Theory, though, it's very common to study the *group of units* of a cyclic group: given $(\mathbb{Z}_{n},+)$, we rule out the integers not being coprime with $n$, and the remaining set of coprime integers $\mathbb{Z}_{n}^\times$ is an abelian group with the product modulo $n$. That's because the product of two coprime numbers is again coprime with $n$. In our case, $\mathbb{Z}_{17}^\times$ only rules out $0$, because $17$ is prime. So the set

is an abelian group (of order $16$) under product modulo $17$. Well, it happens that it is *cyclic* of order $16$ - $3$ is a generator

Very interesting! And... what does it mean in terms of the powers of $\zeta$? Well, we have to move to... powers? Yes! It means that *cubing* permutes all the powers of $\zeta$ except $\zeta^0=1$ in a cyclic way

And here's the key to it all. Anyone of us would have thought that this is getting too weird. Gauss, instead, found this *very meaningful*. So meaningful, that he thought this new order was more convenient

and started to define new quantities (called *periods*) in terms of this new order:

That is, $z_n=\zeta^{(3^n)}$. And what is this useful for? Well, keep reading. Because of the symmetry, the sum of the $17$ roots of the unit is zero, so the sum of all the units except $1$ is $-1$, and therefore

Ok, no big deal so far. But the shocking point is that

and therefore $\alpha_0$ and $\alpha_1$ are solutions of the quadratic equation

that is, $\alpha_0 = \dfrac{-1+\sqrt{17}}{2}$, $\alpha_1 = \dfrac{-1-\sqrt{17}}{2}$ (the components in $\alpha_0$ are more headed to the right whereas those of $\alpha_1$ are more headed to the left)

What??!! No, no, that's not trivial. Try to do the product by hand, and you'll get all sorts of tedious stuff and horrible calculations that miraculously turns out to be four times the sum of all powers of $\zeta$ distint to $1$. And believe me that if you take some random sums of powers of $\zeta$, its product will hardly ever fit so nicely. The product rule

is of no help here, so *why* does this work? It's time to talk about *automorphisms*.

An automorphism in a field $\mathbb{K}$ (for now say $\mathbb{Q}\subset\mathbb{K}\subset\mathbb{C}$) is a map $\varphi:\mathbb{K}\longrightarrow\mathbb{K}$ that satisfies

Quite demanding!! But not impossible to fulfill. For instance complex conjugation meets the definition, doesn't it? But yes, it is quite rigid: rational numbers are always fixed by such automorphism

Ok. Now consider the field

That's indeed a field; addition and product work nicely, quotient may be more subtle, although for this argument we may forget about division and think of the $a_i$ coefficients as being integers. There's no need to add $a_{0}\zeta^{0}$, since

Now, in the very spirit of the idea that Gauss found so meaningful, we want our $\varphi$ to *cube* $\zeta$:

but $\varphi$ is an automorphism, so it has to work well with products

and with sums!

Great! Just cube every power of $\zeta$. It couldn't be simpler! Sums and products work well: the left hand side before cubing, the right hand side after cubing. Simplifications involving $\zeta^{17}=1$ may arise in the left hand side, then these match other simplifications involving $(\zeta^3)^{17}=1$. What could go wrong? Uhm, it just has a little black point

The definition of $\varphi$ is quite a fudge

Imagine one has

Now what? Our definition of $\varphi$ is broken! Well, our automorphism should certainly be rigorously defined... but it is not inconsistent. This automorphism exists. The main reason is that equalities like the one before do not hold. Supposing it is true, then

that is, $\zeta$ is a root of

but it is also a root of

Weird, isn't it? Some polynomial handling would lead to absurd. So the decomposition of an element of $\mathbb{Q}(\zeta)$ into powers of $\zeta$ as above is unique and $\varphi$ exists and works well. Take your time to play with it.

And now comes the magic! $\varphi$ permutes the powers of $\zeta$

And the $\alpha_i$

*But its product remains fixed*

and thus it has to be an integer, because no combination

remains fixed if all the coefficients are not equal!! Can you see how very clever? Great Gauss! So

and it's time to repeat our procedure. These are our new periods! The index of $z$ increasing in steps of 4

Now the automorphism we have to focus on is $\varphi^2$, that permutes the periods

and leaves unchanged the sums and products. And what leaves $\varphi^2$ unchanged? Exactly combinations of $\alpha_0$ and $\alpha_1$. So it's no surprise that the sums and products are "nice quantities" (which now may be easily checked by hand)

and now

Periods once again!! And having in mind $\varphi^4$

Works like a charm! $\alpha_{000}$ and $\alpha_{001}$ are roots of

and

And since $\mathrm{Re}(\zeta)=\dfrac{\alpha_{000}}{2}$, we have all we need to construct our regular heptadecagon with straightedge and compass. Great Gauss!!