The areas / V12. Number theory
Mathlib.NumberTheory.Harmonic.Defs
3 declarations. Mathlib docs · Source
def harmonic E1 #
ℕ → ℚ
The nth-harmonic number defined as a finset sum of consecutive reciprocals.
theorem harmonic_zero E0 #
harmonic 0 = 0
theorem harmonic_succ E0 #
∀ (n : ℕ), harmonic (n + 1) = harmonic n + (↑(n + 1))⁻¹