The solutions of zn = 1 are e2πik/n for k = 0, …, n−1 — n points evenly spaced on the unit circle, forming a regular n-gon with one vertex at z = 1.
Default opens at n = 3 — the equilateral triangle 1, −½ + (√3/2)i, −½ − (√3/2)i you derived by hand.
Showing the n roots of unity.
Click anywhere in the plane to set w. Roots become a copy of the n-gon scaled to radius |w|1/n and rotated by arg(w)/n.