TITLE: GCD and the Riemann zeta funtion
QUESTION [5 upvotes]: I'm completely stuck on this one, as I'm just starting with analytic number theory: How to write
$$\sum_{a\in\mathbb{N}}\sum_{b\in\mathbb{N}}\frac{(a,b)}{a^sb^t}$$
in terms of the Riemann zeta function? $(a,b)$ denotes the greatest common divisor.

REPLY [2 votes]: It would appear from the wording of the question that perhaps a more elementary approach should be used.
Rewrite the sum as $$\sum_{a\ge 1} \frac{1}{a^t} \sum_{b\ge 1} \frac{\gcd(a,b)}{b^s}.$$
Now let the factorization of $a$ be $$ a = p_1^{v_1} p_2^{v_2} \cdots p_r^{v_r}$$ and let the set of primes that appear be denoted as $P(a).$
Then the Euler product for the inner sum is given by
$$\prod_{k=1}^r 
\left(1 + \frac{p_k}{p_k^s} 
+ \frac{p^2_k}{p_k^{2s}}
+ \frac{p^3_k}{p_k^{3s}}
+ \cdots
+ \frac{p^{v_k}_k}{p_k^{v_k s}}
+ \frac{p^{v_k}_k}{p_k^{(v_k+1) s}}
+ \frac{p^{v_k}_k}{p_k^{(v_k+2) s}}
+ \cdots\right)
\prod_{p\notin P(a)} \frac{1}{1-p^{-s}}.$$
This simplifies to
$$\prod_{k=1}^r
\left(\frac{1-(p_k/p_k^s)^{v_k}}{1-p_k/p_k^s}
+ \frac{p_k^{v_k}}{p_k^{v_k s}}\frac{1}{1-(1/p_k^s)}
\right)\prod_{p\notin P(a)} \frac{1}{1-p^{-s}}$$
which in terms of the Riemann zeta function is
$$\zeta(s) \prod_{k=1}^r
\left(\frac{1-(p_k/p_k^s)^{v_k}}{1-p_k/p_k^s}(1-(1/p_k^s))
+ \frac{p_k^{v_k}}{p_k^{v_k s}}\right).$$
Note that the term in the product has the value $1$ when $v=0.$ 
Therefore the sum is given by
$$\zeta(s) \prod_p \sum_{v\ge 0} \frac{1}{p^{vt}}
\left(\frac{1-(p/p^s)^v}{1-p/p^s}(1-(1/p^s))
+ \frac{p^v}{p^{v s}}\right).$$
This is
$$\zeta(s) \prod_p \left(\frac{1}{1-1/p^{s+t-1}} + 
\frac{1-(1/p^s)}{1-p/p^s}
\sum_{v\ge 0} \frac{1-(p/p^s)^v}{p^{tv}}
\right)$$ which is in turn
$$\zeta(s) \prod_p \left(\frac{1}{1-1/p^{s+t-1}} + 
\frac{1-(1/p^s)}{1-p/p^s} \frac{1}{1-1/p^t}
- \frac{1-(1/p^s)}{1-p/p^s} \frac{1}{1-1/p^{s+t-1}}
\right)$$
Now put $z=p^s$ and $w=p^t$ to get the intermediate result
$$\zeta(s) \prod_p \left(\frac{1}{1-p/z/w} + 
\frac{1-1/z}{1-p/z} \frac{1}{1-1/w}
- \frac{1-z}{1-p/z} \frac{1}{1-p/z/w}
\right).$$
This factors as
$$\zeta(s) \prod_p \frac{ w (1-zw) }{(w - 1) (p - z w)}
= \zeta(s) \prod_p \frac{ w (1-zw)}{(1 - 1/w) w (p - z w)}
\\= \zeta(s)\zeta(t) 
\prod_p \frac{ 1-zw } {p - z w} 
\\ = \zeta(s)\zeta(t) 
\prod_p \frac{ 1-zw}{z w \times (p/z/w - 1)}
\\= \zeta(s)\zeta(t) 
\prod_p \frac{ zw-1}{z w \times (1-p/z/w)} 
= \zeta(s)\zeta(t)\zeta(s+t-1)
\prod_p \frac{ zw-1}{z w}
\\ = \zeta(s)\zeta(t)\zeta(s+t-1)
\prod_p \left(1-\frac{1}{z w}\right)
= \zeta(s)\zeta(t)\frac{\zeta(s+t-1)}{\zeta(s+t)}.$$