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}.cardKummer'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.
- 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.
- Factstatement and proof · cited by 2,726
- Finset.cardstatement · cited by 2,327
- Nat.Primestatement and proof · cited by 2,059
- Finset.filterstatement · cited by 949
- Nat.choosestatement · cited by 494
- Finset.Icostatement · cited by 450
- Fact.outproof · cited by 328
- padicValNatstatement · cited by 106
- Nat.logstatement and proof · cited by 101
- padicValNat_eq_emultiplicityproof · cited by 9
- Nat.choose_ne_zeroproof · cited by 4
- Nat.Prime.emultiplicity_chooseproof · cited by 2
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.