This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

HarmonicNumber

HarmonicNumber[n]
gives the n^(th) harmonic number H_n.
HarmonicNumber[n, r]
gives the harmonic number of order r.
  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • The harmonic numbers are given by with .
New in 4