Mathlib Map

Theorems · Theorem · number theory

padicValNat_choose

∀ {p n k b : ℕ} [hp : Fact (Nat.Prime p)],
  k ≤ n → Nat.log p n < b → padicValNat p (n.choose k) = {i ∈ Finset.Ico 1 b | p ^ i ≤ k % p ^ i + (n - k) % p ^ i}.card

Kummer's Theorem The p-adic valuation of n.choose k is the number of carries when k and n - k are added in base p. This sum is expressed over the finset Ico 1 b where b is any bound greater than log p n.

Defined in
Mathlib.NumberTheory.Padics.PadicVal.Basic
Cited by
0 results in Mathlib
Foundations
Depth 87 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
Fact

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites12

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by0

Results whose statement or proof uses this declaration.

Nothing cites this yet.