I would like to evaluate the sum
$$ \sum\limits_{n=0}^\infty \left(\operatorname{Si}(n)-\frac{\pi}{2}\right) $$
Where $\operatorname{Si}$ is the sine integral, defined as:
$$\operatorname{Si}(x) := \int_0^x \frac{\sin t}{t}\, dt$$
I found that the sum could be also written as
$$ -\sum\limits_{n=0}^\infty \int_n^\infty \frac{\sin t}{t}\, dt $$
Anyone have any ideas?
Numerical value
First, let's establish the numerical value of the sum. Since $$\operatorname{Si}(n) - \frac{\pi}{2} = -\frac{\cos(n)}{n} \left(1 + \mathfrak{o}(n^{-2})\right) - \frac{\sin(n)}{n^2} \left(1 + \mathfrak{o}(n^{-2})\right)$$ we shall evaluate: $$ \sum_{n=0}^\infty \left(\operatorname{Si}(n) - \frac{\pi}{2}\right) = -\frac{\pi}{2} + \sum_{n=0}^\infty \left(\operatorname{Si}(n) - \frac{\pi}{2} + \frac{\cos(n)}{n}\right) - \sum_{n=1}^\infty \frac{\cos(n)}{n} \tag{1} $$ The middle sum now converges unconditionally. The conditionally convergent sum is easy to evaluate in closed form: $$ -\sum_{n=1}^\infty \frac{\cos(n)}{n} = -\Re \left(\sum_{n=1}^\infty \frac{\mathrm{e}^{i n}}{n} \right) = \Re\left( \log\left(1-\mathrm{e}^i \right) \right) = \log\left(2 \sin \left(\frac{1}{2}\right)\right) $$ The following image displays the partial sums of $(1)$:
Thus the numerical value of the sum is approximately $-1.869201$.
Mellin-Barnes representation
Using the Mellin-Barnes representation for the summand: $$ \operatorname{Si}(n) - \frac{\pi}{2} = -\frac{\sqrt{\pi}}{2} \cdot \frac{1}{2 \pi i} \int_{\mathcal{L}} \,\, \frac{\Gamma(s) \Gamma\left(s+\frac{1}{2}\right)}{\Gamma(1+s)\Gamma(1-s)} \left( \frac{n}{2} \right)^{-2s} \mathrm{d} s $$ where the contour $\mathcal{L}$ goes from $\mathrm{e}^{-i \theta} \infty$ to $\mathrm{e}^{i \theta} \infty$, with $\frac{\pi}{2} < \theta < \pi$, leaving all the poles of $\Gamma$-functions in the numerator to the left.
Thus: $$ \sum_{n=0}^\infty \left( \operatorname{Si}(n) - \frac{\pi}{2}\right) = -\frac{\pi}{2} - \frac{\sqrt{\pi}}{2} \cdot \frac{1}{2 \pi i} \int_{\mathcal{L}} \,\, \frac{\Gamma(s) \Gamma\left(s+\frac{1}{2}\right)}{\Gamma(1+s)\Gamma(1-s)} 4^s \zeta(2s) \mathrm{d} s $$ Here is a numerical confirmation:
The summand also admits the following integral representation $$ \operatorname{Si}(n) - \frac{\pi}{2} = -\int_0^1 J_0\left(\frac{n}{x}\right) \frac{\mathrm{d} x}{\sqrt{1-x^2}} $$ where $J_0(x)$ stands for the Bessel function of the first kind, but I was not able to put it to a good use to answer of this question.