The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.Harmonic.Int

4 declarations. Mathlib docs · Source

theorem harmonic_pos E1 #

∀ {n : ℕ}, n ≠ 0 → 0 < harmonic n

theorem padicValRat_two_harmonic E1 #

∀ (n : ℕ), padicValRat 2 (harmonic n) = -↑(Nat.log 2 n)

The 2-adic valuation of the n-th harmonic number is the negative of the logarithm of n.

theorem padicNorm_two_harmonic E1 #

∀ {n : ℕ}, n ≠ 0 → ‖↑(harmonic n)‖ = 2 ^ Nat.log 2 n

The 2-adic norm of the n-th harmonic number is 2 raised to the logarithm of n in base 2.

theorem harmonic_not_int E1 #

∀ {n : ℕ}, 2 ≤ n → ¬(harmonic n).isInt = true

The n-th harmonic number is not an integer for n ≥ 2.