This question came up naturally recently from a blog post of John Baez. There is an observation of Euclid that edges of a pentagon, hexagon, and decagon inscribed in a unit circle form the edges of a right triangle:

Euclid used this to construct the icosahedron (see Baez's description for more details). I observed that this follows from a dual description in terms of the dual pythagorean theorem (see also Greg Egan's description with more details).

There are 4 right triangles associated to the 5 Platonic solids with the property that the edge lengths are equal to the edges of regular polygons inscribed in a unit circle:

**Question: Are there any other right triangles with edge lengths equal to the lengths of edges of regular polygons inscribed in a unit circle?**

Note that a regular polygon is allowed to be immersed, that is a star (or *polygram* as Sam Nead points out in a comment).

Generalizing the algebraic analysis in Baez's post, this may be formulated in terms of a diophantine equation involving cyclotomic numbers, but I'll leave this formulation up to the reader.

As observed in the blog post, there is a dual description stating that there are 3 regular polygons with edge lengths 1, such that the circumradii of these polygons form the altitudes of a right triangle (which satisfy the dual pythagorean theorem).

**Addendum:** As Will Sawin points out in the comments, there is also the Galois conjugate hexagon, pentagram, decagram. In fact, one obtains examples associated to all of the Kepler-Poinsot polyhedra.

The pentagram, hexagon, decagram is associated to the great dodecahedron and great icosahedron. The pentagon, hexagon, decagon is associated to the small stellated dodecahedron, and the triangle, decagon, decagram to the great stellated dodecahedron, if I've figured correctly.

**Postscript:** It appears that a transformation of this question was answered by Gordan in 1877. Gordan showed that the only solutions to $1+\cos(\phi_1)+\cos(\phi_2)+\cos(\phi_3)=0$ with $0<\phi_i<\pi$ and $\phi$ a rational multiple of $\pi$ are permutations of $(\frac23\pi,\frac23\pi,\frac12\pi)$ and $(\frac23\pi,\frac25\pi,\frac45\pi)$ (see. p. 109 of Coxeter). This equation is equivalent to the equation in Sawin's answer, $\zeta_1+\zeta_1^{-1}+\zeta_2+\zeta_2^{-1}-\zeta_3-\zeta_3^{-1}=2$ where $\zeta_1=e^{\phi_1 i}, \zeta_2=e^{\phi_2 i}, \zeta_3=e^{(\pi-\phi_3)i}$ (the degenerate solutions in Gordan's equation are eliminated by assuming $0<\phi<\pi$). The polygon going through the midpoints of edges is similar to the Petrie polygon, which is the projection of the sequence of edges, and lies in the Coxeter plane. The duality in orthogonal triangles associated to each of the regular polyhedra then follows from the symmetry of these equations, but doesn't seem to be observed directly in Coxeter's book.

In fact, if $h$ is the degree of the polygon, then we see a further symmetry of the solutions by letting $\frac{1}{r}+\frac{1}{h}=\frac12$. We see that $\{p,q,r\}$ satisfies equation 6.71 on p.108 of Coxeter: $$\cos^2(\pi/p)+\cos^2(\pi/q)+\cos^2(\pi/r)=1.$$

The solutions are $\{3,3,4\}$ and $\{3,5,\frac52\}$.

On p. 109 (see also regular polyhedron), one sees that permuting the two solutions to this equation, one obtains 3 and 6 polyhedra respectively, indicating a further symmetry not apparent from the right triangle equation.

(10,6,5);(6,6,4);(4,3,6);(6,3,2);(l,m,n) where l and m sided regular polygons exist on the base and height and the n sided regular polygon exists on thy hypotenuse.- Some examples by solving $Sin^2(\pi/l) + Sin^2(\pi/m )=Sin^2(\pi/n)$ on a spread sheet. $\endgroup$