# Value of this sum

**URL:** <https://community.wolfram.com/t/value-of-this-sum/671>\
**Category:** Questions\
**Created:** [October 7, 2013, 8:34am UTC](https://community.wolfram.com/t/value-of-this-sum/671 "2013-10-07T08:34:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![narayansurya999](https://avatars.discourse-cdn.com/v4/letter/n/3ec8ea/32.png) [@narayansurya999](https://community.wolfram.com/u/narayansurya999)\
**Post date:** [October 7, 2013, 8:34am UTC](https://community.wolfram.com/t/value-of-this-sum/671/1 "2013-10-07T08:34:01Z")

</div>

I wanted to evaluate the following sum psi(2n+1)/(2n+1)-psi(2n)/(2n) where n ranges from 1 to infinity and psi is the Chebyshev second function. So I wrote the following code.

```auto
Sum[Sum[Floor[Log[Prime[k], 2x+1]] Log[Prime[k]]/(2x+1), {k, 1, PrimePi[2x+1]}]- Sum[Floor[Log[Prime[k], 2x]] Log[Prime[k]]/(2x), {k, 1, PrimePi[2x]}]] ,1]

```

But it didn’t show the answer. Can anybody tell me the answer?

---

<div class="post-metadata">

**Author:** ![seanc](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/seanc/32/34005_2.png) [@seanc](https://community.wolfram.com/u/seanc)\
**Post date:** [October 7, 2013, 2:17pm UTC](https://community.wolfram.com/t/value-of-this-sum/671/2 "2013-10-07T14:17:53Z")

</div>

Hi. There appears to be some characters missing from your code. As it is right now, the code doesn’t work and is missing the range for the outer summation.

If Mathematica doesn’t return a result, then this often means that a symbolic value for the sum doesn’t exist. Are you certain that a symbolic value exists? If not, you may want to use [NSum](http://reference.wolfram.com/mathematica/ref/NSum.html) to try finding a numeric estimation.
