I'm looking for the residues of the following function $$s \mapsto\sum^\infty\_{m,n =1} (m+n) \left[ amn + (m-n)^2 \right]^{-s}$$
at $s=\frac{1}{2}$ and $s=\frac{3}{2}$, where $a$ is some real positive number.


Yet, I have literally no idea how to precedure here. I tried to rearrange the terms in order to get some well known zeta function but it failed. Is there any useful integral representation or any simple trick I'm not aware of?


Thanks in advance!



Residues of Zeta-like Function
The following is just a sketch, for the detail you can find in the reference of Zagier [<http://people.mpim-bonn.mpg.de/zagier/files/scanned/ValeursZeta/ZetaFunctionRQF.pdf]>. Let us denote 
$$f(x,y)=(x+y)e^{-(axy+(x-y)^2)}.$$
Then you can check that
$$F(s):=\sum\_{m,n\ge 1}\frac{m+n}{(amn+(m-n)^2)^s}=\frac{1}{\Gamma(s)}\int\_{0}^{\infty}u^{s-3/2}\left(\sum\_{m,n\ge 1}f(\sqrt{u}m,\sqrt{u}n)\right)\,du$$
by direct calculation. Then, from a result of Zagier [page 10th of <http://people.mpim-bonn.mpg.de/zagier/files/scanned/ValeursZeta/ZetaFunctionRQF.pdf]>, actually the Euler–Maclaurin formula, we have the following asymptotic expansion: 
 \begin{align}
\sum\_{m,n\ge 1}f(mt,nt)\sim&\frac{1}{t^2}\int\_{{\mathbb{R}}\_+^2}f(x,y)\,dx\,dy+\sum\_{r,s\ge 0}\beta\_r\beta\_sf^{(r,s)}(0,0)t^{r+s}\\
&+\frac{1}{t}\sum\_{r\ge 0}\beta\_rt^r\left(\int\_{\mathbb{R}\_+}f^{(0,r)}(x,0)\,dx+\int\_{\mathbb{R}\_+}f^{(r,0)}(0,y)\,dy\right)
\end{align}
for $t\rightarrow 0^+$, where $\beta\_r=(-1)^rB\_{r+1}/(r+1)!, r\in\mathbb{Z}\_{\ge 0}$ and $B\_r$ denote the $r$-th Bernoulli number. There we have as $|u|\le 1,$
$$\sum\_{m,n\ge 1}f(\sqrt{u}m,\sqrt{u}n)=\frac{I\_f}{u}+\frac{c\_{-1}}{u^{1/2}}+c\_0+O(u^{1/2})$$
with $I\_f,c\_{-1}, c\_0$ be defined as above asymptotic expansion. 
Hence we can obtain that
$$F(s)=\frac{1}{\Gamma(s)}\int\_{0}^{1}u^{s-3/2}\left(\frac{I\_f}{u}+\frac{c\_{-1}}{u^{1/2}}+c\_0\right)\,du+h(u)$$
with $h(u)$ is an analytic function on $\Re(s)>0$. Moreover, for $\Re(s)>3/2$,
$$F(s)=\frac{1}{\Gamma(s)}\left(\frac{I\_f}{s-3/2}+\frac{c\_{-1}}{s-1}+\frac{c\_0}{s-1/2}\right)+h(s).$$
This means that $F(s)$ can analytic continuation to all $\Re(s)>0$. The following is easy and I omit the detail. 


