For a prime and a nonzero integer , the -adic valuation isIt extends to nonzero rational numbers by .
For a prime number , the ring of p-adic integers is the inverse limitEvery p-adic integer has a unique convergent expansion with . It is a complete discrete valuation ring with uniformizer and residue field .
An element topologically generates the additive group of exactly when , equivalently when is a p-adic unit. In that case its image generates every cyclic quotient .