
In number theory, the p-adic valuation or p-adic order of an integer n is the exponent of the highest power of the prime number p that divides n. It is denoted . Equivalently, is the exponent to which appears in the prime factorization of .
The p-adic valuation is a valuation and gives rise to an analogue of the usual absolute value. Whereas the completion of the rational numbers with respect to the usual absolute value results in the real numbers , the completion of the rational numbers with respect to the -adic absolute value results in the p-adic numbers .

Definition and properties
Let p be a prime number.
Integers
The p-adic valuation of an integer is defined to be
where denotes the set of natural numbers (including zero) and
denotes divisibility of
by
. In particular,
is a function
.
For example, ,
, and
since
.
The notation is sometimes used to mean
.
If is a positive integer, then
;
this follows directly from .
Rational numbers
The p-adic valuation can be extended to the rational numbers as the function
defined by
For example, and
since
.
Some properties are:
Moreover, if , then
where is the minimum (i.e. the smaller of the two).
Formula for the p-adic valuation of Integers
Legendre's formula shows that .
For any positive integer n, and so
.
Therefore, .
This infinite sum can be reduced to .
This formula can be extended to negative integer values to give:
p-adic absolute value
The p-adic absolute value (or p-adic norm, though not a norm in the sense of analysis) on is the function
defined by
Thereby, for all
and for example,
and
The p-adic absolute value satisfies the following properties.
Non-negativity Positive-definiteness Multiplicativity Non-Archimedean
From the multiplicativity it follows that
for the roots of unity
and
and consequently also
The subadditivity
follows from the non-Archimedean triangle inequality
.
The choice of base p in the exponentiation makes no difference for most of the properties, but supports the product formula:
where the product is taken over all primes p and the usual absolute value, denoted . This follows from simply taking the prime factorization: each prime power factor
contributes its reciprocal to its p-adic absolute value, and then the usual Archimedean absolute value cancels all of them.
A metric space can be formed on the set with a (non-Archimedean, translation-invariant) metric
defined by
The completion of with respect to this metric leads to the set
of p-adic numbers.
See also
- p-adic number
- Valuation (algebra)
- Archimedean property
- Multiplicity (mathematics)
- Ostrowski's theorem
- Legendre's formula, for the
-adic valuation of
- Lifting-the-exponent lemma, for the
-adic valuation of
References
- Dummit, David S.; Foote, Richard M. (2003). Abstract Algebra (3rd ed.). Wiley. pp. 758–759. ISBN 0-471-43334-9.
- Ireland, K.; Rosen, M. (2000). A Classical Introduction to Modern Number Theory. New York: Springer-Verlag. p. 3.[ISBN missing]
- Niven, Ivan; Zuckerman, Herbert S.; Montgomery, Hugh L. (1991). An Introduction to the Theory of Numbers (5th ed.). John Wiley & Sons. p. 4. ISBN 0-471-62546-9.
- with the usual order relation, namely
,
,
- Khrennikov, A.; Nilsson, M. (2004). p-adic Deterministic and Random Dynamics. Kluwer Academic Publishers. p. 9.[ISBN missing]
- Murty, M. Ram (2001). Problems in analytic number theory. Graduate Texts in Mathematics. Vol. 206. Springer-Verlag, New York. pp. 147–148. doi:10.1007/978-1-4757-3441-6. ISBN 0-387-95143-1. MR 1803093.
In number theory the p adic valuation or p adic order of an integer n is the exponent of the highest power of the prime number p that divides n It is denoted np n displaystyle nu p n Equivalently np n displaystyle nu p n is the exponent to which p displaystyle p appears in the prime factorization of n displaystyle n The p adic valuation is a valuation and gives rise to an analogue of the usual absolute value Whereas the completion of the rational numbers with respect to the usual absolute value results in the real numbers R displaystyle mathbb R the completion of the rational numbers with respect to the p displaystyle p adic absolute value results in the p adic numbers Qp displaystyle mathbb Q p Distribution of natural numbers by their 2 adic valuation labeled with corresponding powers of two in decimal Zero has an infinite valuation Definition and propertiesLet p be a prime number Integers The p adic valuation of an integer n displaystyle n is defined to be np n max k N0 pk n if n 0 if n 0 displaystyle nu p n begin cases mathrm max k in mathbb N 0 p k mid n amp text if n neq 0 infty amp text if n 0 end cases where N0 displaystyle mathbb N 0 denotes the set of natural numbers including zero and m n displaystyle m mid n denotes divisibility of n displaystyle n by m displaystyle m In particular np displaystyle nu p is a function np Z N0 displaystyle nu p colon mathbb Z to mathbb N 0 cup infty For example n2 12 2 displaystyle nu 2 12 2 n3 12 1 displaystyle nu 3 12 1 and n5 12 0 displaystyle nu 5 12 0 since 12 12 22 31 50 displaystyle 12 12 2 2 cdot 3 1 cdot 5 0 The notation pk n displaystyle p k parallel n is sometimes used to mean k np n displaystyle k nu p n If n displaystyle n is a positive integer then np n logp n displaystyle nu p n leq log p n this follows directly from n pnp n displaystyle n geq p nu p n Rational numbers The p adic valuation can be extended to the rational numbers as the function np Q Z displaystyle nu p mathbb Q to mathbb Z cup infty defined by np rs np r np s displaystyle nu p left frac r s right nu p r nu p s For example n2 98 3 displaystyle nu 2 bigl tfrac 9 8 bigr 3 and n3 98 2 displaystyle nu 3 bigl tfrac 9 8 bigr 2 since 98 2 3 32 displaystyle tfrac 9 8 2 3 cdot 3 2 Some properties are np r s np r np s displaystyle nu p r cdot s nu p r nu p s np r s min np r np s displaystyle nu p r s geq min bigl nu p r nu p s bigr Moreover if np r np s displaystyle nu p r neq nu p s then np r s min np r np s displaystyle nu p r s min bigl nu p r nu p s bigr where min displaystyle min is the minimum i e the smaller of the two Formula for the p adic valuation of Integers Legendre s formula shows that np n i 1 npi displaystyle nu p n sum i 1 infty left lfloor frac n p i right rfloor For any positive integer n n n n 1 displaystyle n frac n n 1 and so np n np n np n 1 displaystyle nu p n nu p n nu p n 1 Therefore np n i 1 npi n 1pi displaystyle nu p n sum i 1 infty bigg left lfloor frac n p i right rfloor left lfloor frac n 1 p i right rfloor bigg This infinite sum can be reduced to i 1 logp n npi n 1pi displaystyle sum i 1 lfloor log p n rfloor bigg left lfloor frac n p i right rfloor left lfloor frac n 1 p i right rfloor bigg This formula can be extended to negative integer values to give np n i 1 logp n n pi n 1pi displaystyle nu p n sum i 1 lfloor log p n rfloor bigg left lfloor frac n p i right rfloor left lfloor frac n 1 p i right rfloor bigg p adic absolute valueThe p adic absolute value or p adic norm though not a norm in the sense of analysis on Q displaystyle mathbb Q is the function p Q R 0 displaystyle cdot p colon mathbb Q to mathbb R geq 0 defined by r p p np r displaystyle r p p nu p r Thereby 0 p p 0 displaystyle 0 p p infty 0 for all p displaystyle p and for example 12 2 2 2 14 displaystyle 12 2 2 2 tfrac 1 4 and 98 2 2 3 8 displaystyle bigl tfrac 9 8 bigr 2 2 3 8 The p adic absolute value satisfies the following properties Non negativity r p 0 displaystyle r p geq 0 Positive definiteness r p 0 r 0 displaystyle r p 0 iff r 0 Multiplicativity rs p r p s p displaystyle rs p r p s p Non Archimedean r s p max r p s p displaystyle r s p leq max left r p s p right From the multiplicativity rs p r p s p displaystyle rs p r p s p it follows that 1 p 1 1 p displaystyle 1 p 1 1 p for the roots of unity 1 displaystyle 1 and 1 displaystyle 1 and consequently also r p r p displaystyle r p r p The subadditivity r s p r p s p displaystyle r s p leq r p s p follows from the non Archimedean triangle inequality r s p max r p s p displaystyle r s p leq max left r p s p right The choice of base p in the exponentiation p np r displaystyle p nu p r makes no difference for most of the properties but supports the product formula 0 p r p 1 displaystyle prod 0 p r p 1 where the product is taken over all primes p and the usual absolute value denoted r 0 displaystyle r 0 This follows from simply taking the prime factorization each prime power factor pk displaystyle p k contributes its reciprocal to its p adic absolute value and then the usual Archimedean absolute value cancels all of them A metric space can be formed on the set Q displaystyle mathbb Q with a non Archimedean translation invariant metric d Q Q R 0 displaystyle d colon mathbb Q times mathbb Q to mathbb R geq 0 defined by d r s r s p displaystyle d r s r s p The completion of Q displaystyle mathbb Q with respect to this metric leads to the set Qp displaystyle mathbb Q p of p adic numbers See alsop adic number Valuation algebra Archimedean property Multiplicity mathematics Ostrowski s theorem Legendre s formula for the p displaystyle p adic valuation of n displaystyle n Lifting the exponent lemma for the p displaystyle p adic valuation of an bn displaystyle a n b n ReferencesDummit David S Foote Richard M 2003 Abstract Algebra 3rd ed Wiley pp 758 759 ISBN 0 471 43334 9 Ireland K Rosen M 2000 A Classical Introduction to Modern Number Theory New York Springer Verlag p 3 ISBN missing Niven Ivan Zuckerman Herbert S Montgomery Hugh L 1991 An Introduction to the Theory of Numbers 5th ed John Wiley amp Sons p 4 ISBN 0 471 62546 9 with the usual order relation namely gt n displaystyle infty gt n and rules for arithmetic operations n n displaystyle infty n n infty infty on the extended number line Khrennikov A Nilsson M 2004 p adic Deterministic and Random Dynamics Kluwer Academic Publishers p 9 ISBN missing Murty M Ram 2001 Problems in analytic number theory Graduate Texts in Mathematics Vol 206 Springer Verlag New York pp 147 148 doi 10 1007 978 1 4757 3441 6 ISBN 0 387 95143 1 MR 1803093