Mathlib Map

Theorems · Theorem · number theory

Nat.emultiplicity_eq_card_pow_dvd

∀ {m n b : ℕ}, m ≠ 1 → 0 < n → Nat.log m n < b → emultiplicity m n = ↑{i ∈ Finset.Ico 1 b | m ^ i ∣ n}.card

The multiplicity of m in n is the number of positive natural numbers i such that m ^ i divides n. This set is expressed by filtering Ico 1 b where b is any bound greater than log m n.

Defined in
Mathlib.Data.Nat.Multiplicity
Cited by
1 results in Mathlib
Foundations
Depth 58 from the axioms · uses propext, Classical.choice, Quot.sound

Around this declaration

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

Cites20

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

Cited by1

Results whose statement or proof uses this declaration.