Documentation

Mathlib.NumberTheory.Harmonic.GammaDeriv

Derivative of Γ at positive integers #

We prove the formula for the derivative of Real.Gamma at a positive integer:

deriv Real.Gamma (n + 1) = Nat.factorial n * (-Real.eulerMascheroniConstant + harmonic n)

Explicit formula for the derivative of the Gamma function at positive integers, in terms of harmonic numbers and the Euler-Mascheroni constant γ.

The Euler–Mascheroni constant as an integral: γ = -∫₀^∞ log t · e^{-t} dt.

An integral representation of the Euler–Mascheroni constant, valid for any s > 1.

Explicit formula for the derivative of the complex Gamma function at positive integers, in terms of harmonic numbers and the Euler-Mascheroni constant γ.