There is a random number $n$.
Assuming $a$ and $b$ are divisors of $n$, I need to determine the number of pairs $(a,b)$ such that $a\cdot b=n$ and the greatest common divisor of $a$ and $b$ is $1$.
I have no idea how to do this, I've seen some problems involving gcd being solved with Euler's totient function, but that wasn't not part of the class material. Can anyone help me with this problem?
P.S.: The pairs $(a,b)$ and $(b,a)$ are considered equal.