I just come to a standstill with the following two formulas.
If $$E_n=\lbrace k\mid 1\le k\le n\ \&\ (k,n)=1\rbrace$$ then I hope for a closed formula $f(n)$ for those
$$\sum_{E_n}k$$
$$\prod_{E_n}\cos\left(\frac{k\pi}{n}\right)$$
Would be welcome if the Euler totient $\phi$ function would appear in $f(n)$.