Let a,b and n be integers greater than 1, and let a and b be the bases of two number systems. An−1 and An are numbers in the system with base a, and Bn−1 and Bn are numbers in the system with base b; these are related as follows:
An=xnxn−1⋯x0,An−1=xn−1xn−2⋯x0,
Bn=xnxn−1⋯x0,Bn−1=xn−1xn−2⋯x0,
xn=0,xn−1=0.
Prove:
AnAn−1<BnBn−1 if and only if a>b.