I want to show that, for $n$ not square-free, $$\sum\limits_{\substack{1\leq k \leq n\\ \gcd(k,n)=1}} \xi _n^k=0,$$ where $\xi_n$ is a (fixed) primitive $n^\text{th}$ root of unity (in $\mathbb C$).
I vaguely recall someone showing me that this can be done by multiplying the sum by a suitable element $\neq 1$ and then show that you are left with the same sum.
If you know some other method, I would like to know as well. However, I want to avoid using the Möbius function.
We want to multiply the sum by $\zeta_n^{\nu}$ with $0 < \nu < n$, so that $\zeta_n^{\nu} \neq 1$, and we need
$$\gcd (k,n) = 1 \iff \gcd (k+\nu,n) = 1\tag{1}$$
to conclude
$$\sum_{\substack{1 \leqslant k \leqslant n \\ \gcd (k,n) = 1}} \zeta_n^k = \sum_{\substack{1 \leqslant k \leqslant n \\ \gcd (k,n) = 1}} \zeta_n^{k+\nu}\tag{2}$$
since both sums then contain the same terms.
With
$$\nu = \operatorname{rad} (n) := \prod_{p \mid n} p,$$
we have $(1)$, for then $p \mid \gcd(k,n) \iff p \mid \gcd (k+\nu,n)$. We thus have
$$0 = (1 - \zeta_n^{\operatorname{rad} (n)})\sum_{\substack{1 \leqslant k \leqslant n \\ \gcd (k,n) = 1}} \zeta_n^k\tag{3}$$
for every $n$. Since $\operatorname{rad} (n) < n$ if and only if $n$ is not squarefree, $(3)$ implies
$$\sum_{\substack{1 \leqslant k \leqslant n \\ \gcd(k,n) = 1}} \zeta_n^k = 0$$
for $n$ that are not squarefree, as $1 - \zeta_n^{\operatorname{rad} (n)} \neq 0$ in that case.