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 / V02. Numbers

Mathlib.Data.Nat.Choose.Consecutive

2 declarations. Mathlib docs · Source

theorem Nat.Prime.dvd_choose_add_sub_one_iff E0 #

∀ {p k n : ℕ}, Nat.Prime p → n < p → (p ∣ (k + n - 1).choose n ↔ ∃ i < n, p ∣ k + i)

theorem Nat.Prime.dvd_choose_iff E0 #

∀ {p k n : ℕ}, Nat.Prime p → n < p → n ≤ k → (p ∣ k.choose n ↔ ∃ i < n, p ∣ k - i)