Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

HarmonicNumber

HarmonicNumber[n]
gives the n^(th) harmonic number .

HarmonicNumber[n,r]
gives the harmonic number of order r.

DetailsDetails

  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • The harmonic numbers are given by with .
  • HarmonicNumber can be evaluated to arbitrary numerical precision.
  • HarmonicNumber automatically threads over lists.
Introduced in 1999
(4.0)