Given that $n$ is a positive integer, we have to find the sum of all the positive integers less than $2n$ and relatively prime to $n$.
I know that when we solve it for numbers $<n$ we get the answer as $\frac{n}{2}*\phi(n)$ where $\phi()$ is the Euler totient function.
I think it will depend on $n$ being even/odd since the factor of 2 will eliminate some numbers since the sum of those relatively prime to $2n$ is $n*\phi(n)$ and all these will be odd. We will have to consider the even numbers too which might be co-prime to $n$ but were obviously not considered for $2n$.
Any help would be appreciated.