Given the sum
$$g(n)=\sum_{a \in \mathbb{Z}^{*}_n}a$$
where $\mathbb{Z}^{*}_n$ is the multiplicative modular unit group.
I want to know:
- is there some standard function or symbol representing it?
- any remarkable properties
- any relations with arithmetic functions or Dirichlet convolutions
Particularly I have found that this number is always a multiple of $n$ and $\phi(n)$, euler's totient function.
This is exactly:
$$g(n) = \sum_{a \in \mathbb{Z}^{*}_n}a=\frac{ \phi(n)n}{2}$$
Examples:
if $n=12$: $$g(12) = 1+5+7+11 = 4*12/2 = 24$$
if $n=7$, this is the sum of the first 6 positive integers: $$g(7) = 1+2+...+6 = 6*7/2 = 21$$