Proof

The proof consists of two parts:

Conversion to a-ary representation.

Uniqueness of the representation.