- #1

- 928

- 30

- TL;DR Summary
- Hi All, is there a closed expression that yields the p-adic valuation of a natural number n ?

Hi All,

If p is a prime, the p-adic valuation, ## v_p(n) ##, of a positive natural number is defined as the highest power of p that divides n. For instance, ##v_3(45) = 2##.

My question is: Is there a mathematical expression for ##v_p(n)## ?

If p is a prime, the p-adic valuation, ## v_p(n) ##, of a positive natural number is defined as the highest power of p that divides n. For instance, ##v_3(45) = 2##.

My question is: Is there a mathematical expression for ##v_p(n)## ?