The Mathematica code
ComplexExpand[Sum[(Integrate[1/Gamma[s]*x^(s - 1)*Exp[-x]/(1 + Exp[-2 x]) /.
s -> 4 n + 1, {x, 0, Infinity}]) -
Integrate[
1/Gamma[s]*x^(s - 1)*Exp[-x]/(1 + Exp[-2 x]) /.
s -> 4 n + 3, {x, 0, Infinity}], {n, 0, Infinity}] //FullSimplify]
outputs (\[Pi] Cosh[\[Pi]/2])/(2 (1 + Cosh[\[Pi]]))
in 14.0 on Windows 10. Its numeric value equals 0.31301
. This is not in accordance with the value of the fifth partial sum
Sum[(Integrate[1/Gamma[s]*x^(s-1)*Exp[-x]/(1+Exp[-2 x])/. s->4 n+1,{x,0,Infinity}])-
Integrate[1/Gamma[s]*x^(s-1)*Exp[-x]/(1+Exp[-2 x])/. s->4 n+3,{x,0,Infinity}],{n,0,5}]//N
-0.18699
It should be noticed that the series under consideration converges very quickly. The result by hand can be found here.
Sum[(-1)^n DirichletBeta[2 n + 1], {n, 0, ∞}]
. $\endgroup$n = 1
. For example:Sum[DirichletBeta[n], {n, 0, ∞}]
stays unevaluated, whileFullSimplify@Sum[DirichletBeta[n], {n, 1, ∞}]
gives-(Log[2]/2)
even though $\beta(x)$ is strictly increasing function. And if you want to do a simple finite sum:NSum[DirichletBeta[n], {n, 0, 2}]
, it complains ... $\endgroup$DirichletBeta
as a label only. $\endgroup$