On the last page of the Josephus problem where things get really general, we're shown the pretty slick radix changing recurrence & solution 1.17 & 1.18
f(j) = aj, for 1 <= j <= d;
f(dn + j) = cf(n) + Bj, for 0 <= j < d and n>=1;
&
f((bmbm-1...b1b0)d) = (abmBbm-1Bbm-2...Bb1Bb0)c
but we're not shown how they are proved, only that we start in radix d and end in radix c.
How can one go about proving these, based on what has been presented thus far in the problem? Sorry for the typesetting I'm new to this.