Let $P$ a convex regular polygon with $n$ sides, having the center $O$ and $\angle xOy$ an angle of measure $a$, $a \in (0,k)$. Let $S$ be the area of the common part of the interiors of the polygon and the angle. Find, as a function of $n$, the values of $a$ such that $S$ remains constant when $\angle xOy$ is rotating around $O$.