Sign up ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

What is exactly the domain of validity of the identity:

Sum[1/(k + j - 1), {j, 1, i}] == HarmonicNumber[k - 1 + i] - HarmonicNumber[k - 1]  

when k is a real number?

More generally, could I have a reference about the way HarmonicNumber[x] is calculated when x is not an Integer?

share|improve this question

1 Answer 1

As indicated here, HarmonicNumber[x] is the same as EulerGamma + PolyGamma[x+1]. So the more detailed remarks of PolyGamma would apply. For a more mathematical explanation see also this article. In the end it comes down to the gamma function which is defined as an integral.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.