Let $n\geq 1$ be a natural number. I would like to find the quantity:
$$\sum\limits_{d_1 | n}\sum\limits_{\substack{d_2 | n \\ d_3|n \\ (d_2,d_3)=d_1}}d_3.$$
My guess is that the result could be $\tau(n)\sigma(n)$, where $\tau(n)$ is the number of divisors of $n$ and $\sigma(n)$ is the sum of these divisors. Any tip is appreciated.
Why, let's see. How many times each divisor has the chance to be a $d_3$? Let's run through all pairs of divisors $\{d_2,d_3\}$. Every time their GCD is also a divisor of $n$ (some $d_1$), the $d_3$ gets included in the summation. But wait, their GCD is always a divisor! So the outer sum is nothing but smoke and mirrors. Your quantity simplifies to
$$\sum\limits_{\substack{d_2|n\\d_3|n\\\color{green}{(d_2,d_3)=\text{anything}\hspace -3.5em}}}d_3$$
which is trivially equivalent to $\tau(n)\cdot\sigma(n)$, just as you expected.