Problem

Source: Nordic Mathematical Contest 2017 Problem 4

Tags: combinatorics, geometry



Find all integers $n$ and $m$, $n > m > 2$, and such that a regular $n$-sided polygon can be inscribed in a regular $m$-sided polygon so that all the vertices of the $n$-gon lie on the sides of the $m$-gon.