Here is a pretty series
$$ \displaystyle \sum_{n=1}^{+ \infty} \left(H_{n}-\ln n-\gamma -\frac{1}{2n}\right)=\frac{1}{2} \left(1-\ln (2\pi)+\gamma\right) \tag{*} $$
where $H_{n}:=\sum_{1}^{n} \frac{1}{k}$ are the harmonic numbers and $\gamma := \lim\limits_{n \to \infty} (H_n- \ln n)$ is the Euler constant.
$$ $$
Now just introduce a parameter in the general term of the series and you get a link with... the Riemann $\zeta$ function on the critical line!
Q 1. What proof would you give for (*)?
Q 2. What elements would you give to get the link with $\zeta\left(\frac{1}{2}+it\right)$?
Observe that $$ H_{n}-\ln n-\gamma -\frac{1}{2n} = \psi (n) - \ln n + \frac{1}{2n} $$ where $\psi := \Gamma'/\Gamma$ is the digamma function, using $\displaystyle \psi (n)= H_{n-1}-\gamma = H_n-\gamma- \frac{1}{n}$, $n\geq 1$.
Our initial series thus rewrites $$ \sum_{n=1}^{\infty} \left( \psi(n )- \log n + \frac{1}{2n}\right) = \frac{\gamma}{2} - \frac{1}{2}\ln(2\pi)+ \frac{1}{2}, $$ (proved by David H).
Then consider the one parameter series $$ \sum_{n=1}^{\infty}\left(\psi(n \alpha)- \log (n \alpha) + \frac{1}{2n \alpha}\right), \quad \alpha >0. $$ We have the following result.
where $$ \xi(s):=\frac{s(s-1)}{2} \displaystyle \pi^{-s/2}\:\Gamma(\frac{s}{2})\zeta(s)$$ and where $\zeta$ is the Riemann zeta function.
Now express $\displaystyle \left|\xi\left(\frac{1}{2}+\frac{it}{2}\right)\right|^2 $ in terms of $\left|\zeta \left(\frac{1}{2}+ it\right)\right|^2$ and you obtain the evocated link.
Theorem 1 is due to Ramanujan and one may find a recent proof here.
Here is a related result I have found.
Thanks.