We fix a modulus and write . Let . Number decomposition expresses as a sum of multiple numbers in base as follows:
where is a base and is the decomposition level. We assume and take digits ; under these conditions, the decomposition is unique. This is visually shown in Figure 1. (If , see §A-6.3.) Each is a digit in the base- representation of , where is the most significant digit. When is a power of two, this corresponds to a shift by bits.
We define the decomposition of the number into base with level as follows:
.
Number decomposition is also called radix decomposition, where the base is referred to as a radix.
Suppose we take in . Suppose we want to decompose 13 with the base and level . Then, 13 is decomposed as follows: