Let $p$ be a prime number.
The $p$-adic digits are the natural numbers $\set {0, 1, 2, \ldots, p - 1}$.