2. Existence and uniqueness of the representation
Theorem 2.1 (existence and uniqueness)
Let b≥2 be an integer. Every integer N≥0 admits a positional representation in base b in the sense of Definition 1.1, and this representation is unique (up to leading zero digits).
Proof (Part 1 -- Existence). We proceed by strong induction on N.
Base case (N=0). Set k=0 and d₀=0: then ∑i=00dibi=0·b⁰=0=N, and the digit d₀=0 trivially satisfies 0≤d₀<b (since b≥2>0). The base case holds.
Inductive step. Let N>0, and suppose (inductive hypothesis) that every integer M with 0≤M<N already admits a positional representation in base b. Apply Euclidean division of N by b: there exist unique integers q,d₀ such that(this is an elementary fact of integer arithmetic: the Euclidean division theorem always guarantees existence and uniqueness of quotient and remainder, for any dividend N≥0 and any divisor b≥1).
We want to apply the inductive hypothesis to the quotient q, and to do so we must first check that 0≤q<N. Since d₀≥0, we have qb≤N, hence q≤N/b; and since b≥2, N/b≤N/2<N (the last inequality holds because N>0). Thus q<N, and clearly q≥0 as the quotient of two non-negative integers: the inductive hypothesis applies to q.
By the inductive hypothesis, there exist an integer k'≥0 and digits e₀,…,ek', with 0≤ei<b, such that q=∑eibi. Substituting into the Euclidean division equation and re-indexing, and setting k:=k'+1 and di:=ei-1 for i=1,…,k (keeping d₀ as already defined), we obtain N=∑i=0kdibi with 0≤di<b for every i: for i=0 by construction, for i≥1 because di=ei-1 satisfies 0≤ei-1<b by the inductive hypothesis. This completes the inductive step, and with it the proof of existence for every N≥0.
∎
Proof (Part 2 -- Uniqueness). We proceed by contradiction, showing that two distinct representations of the same N cannot exist: the contradiction already emerges at the least significant digit, and propagates by induction to the subsequent digits.
Suppose, for contradiction, that N admits two distinct positional representations in base b,(up to padding the shorter one with leading zero digits, we may always assume both have the same number k+1 of digits; this does not change the represented value), with (d₀,…,dk)≠(e₀,…,ek).
Base step -- the least significant digit. Reduce both sides modulo b. For every i≥1, the term dibi (and likewise eibi) is a multiple of b, since bi is; these terms vanish modulo b, leaving only the i=0 contribution:Since 0≤d₀,e₀<b, and the interval [0,b) contains exactly one representative of each residue class modulo b (this is, again, uniqueness of the remainder in Euclidean division), we conclude d₀=e₀.
Inductive step -- the subsequent digits. Subtracting d₀=e₀ from both sides of the original equality and dividing by b (valid: every remaining term, for i≥1, is a multiple of b) gives, for the number N':=(N-d₀)/b, a new pair of representations with one fewer digit. Applying the same argument as the base step to this pair (with N' in place of N) gives d₁=e₁; iterating on N'':=(N'-d₁)/b gives d₂=e₂, and so on. After k+1 applications of this argument (formally, by induction on the number of remaining digits, with an immediate base case: a number with a single digit is, trivially, that digit) we obtain di=ei for every i=0,…,k.
But then (d₀,…,dk)=(e₀,…,ek), contradicting the assumption that the two representations were distinct.
∎
Connection with the practical method (Section 3). The proof of Part 1 is, digit by digit, the description of an algorithm: at each step one performs a single Euclidean division by b, records the remainder as a digit, and repeats the procedure on the quotient -- exactly what Section 3 isolates and calls the successive-division method. The Theorem guarantees that this procedure always terminates after finitely many steps (the quotient strictly decreases at each step) and produces the only possible representation: there is thus no need to ask whether a different choice of digits, or a different order, could have given a different result.
Example 2.1
Let us apply, step by step, the algorithm just used in the proof, to convert N=47 into base b=3:
Reading the digits in the order d₃d₂d₁d₀ (that is, in reverse order with respect to extraction, from the last remainder computed to the first):
47=(1202)₃
Check: 1·27+2·9+0·3+2·1=27+18+0+2=47. ✓