AngouriMath

Navigation

HarmonicNumberf


← Back to list of classes

Description

Summary

The harmonic number harmonicnumber(n), H_n = 1 + 1/2 + ... + 1/n, and the
generalized one harmonicnumber(n, m), H_n^(m) = 1 + 1/2^m + ... + 1/n^m.

Remarks

Off the whole numbers it is ζ(m) - ζ(m, n + 1), as Mathematica's HarmonicNumber is: ψ(n + 1) - ψ(1) for m = 1, which is 2 - 2 ln 2 at n = 1/2. It
has no value at a negative integer n, a pole of the Hurwitz zeta function, but for a
whole order m <= 0, where it is a polynomial in n.
https://github.com/asc-community/AngouriMath/issues/2182

Members

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5629 pages online