Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.