Let $X_n^c=\{\cos\left((4k-c)\frac{\pi}{2n}+\frac{\pi}{4}\right): k=0, 1, \dots, n-1\}$ where $c\in\{0, 1, \ldots, \lfloor\frac{n}{2}\rfloor\}$ and $n$ is any positive integer greater than 3. I want to know, for a given $n$ under what condition(s) there exists (at least) two different $c$ and $c'$ such that we have $X_n^c=X_n^{c'} $.
I have asked this question in stackexchange on 12 August, but didn't get the result yet.