We start again with the Kronecker delta:
$$\delta \left( x,y \right) =\cases{1&$x=y$\cr 0&$x\neq y$\cr}\quad\qquad\quad\qquad\quad\qquad\quad\qquad\quad\qquad\quad\qquad\quad\qquad\quad\quad\quad\quad\quad\quad\quad\text{ (1)}$$
Which allows us to express the digits of a number 'a' in base 'b' in a computable integer sequence, in that we already know the exact length of the sequence which is of course the number of digits in total. The expression for this computation is:
$$d_{{n}} \left( a,b \right) =\sum _{k=1}^{ \Bigl\lfloor
{\frac {
\ln \left( a \right) }{\ln \left( b \right) }}\Bigr\rfloor +1} \left(
\delta \left( n,k \right) -b\delta \left( n,k+1 \right) \right)
\Bigl\lfloor{a{b}^{k- {\Bigl\lfloor\frac {\ln \left( a\right)
}{\ln \left( b \right) }\Bigr\rfloor} -1}} \Bigr\rfloor
\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad$$
For example,
$a=12345$
in base $b=10:$ will, purely coincidentally of course, evaluate to the arithmetic progression with initial value of 1 and d=1 of length 5:
$$\left\{ d_{{1}} \left( 12345,10 \right) ,d_{{2}} \left( 12345,10
\right) ,d_{{3}} \left( 12345,10 \right) ,d_{{4}} \left( 12345,10
\right) ,d_{{5}} \left( 12345,10 \right) \right\} = \left\{ 1,2,3,4,
5 \right\}
$$
But this(2) will compute the $n^{th}$ digit for the number in any base $b>1$, and thus these values correspond to the coefficients of the b-adic expansion * of the number thus we have as follows:
$$\mathcal{P} \left( a,b \right) =\sum _{n=0}^{ \Bigl\lfloor {
\frac {\ln \left( a \right) }{\ln \left( b \right) }} \Bigr\rfloor +1}d_{
{n}} \left( a,b \right) {b}^{n}\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\text{ (3)}
$$
And from this we can perform digit reversal as follows in any base as far as I can guess, although don't quote me on it because when I noticed this i thought it was too silly to share so i haven't checked other values of b:
$${\frac {\mathcal{P} \left( N,b \right) }{b}}$$
$$\frac{\mathcal{P} \left( 12345,10 \right)}{10} =54321$$
$$\frac{\mathcal{P} \left( 13454345345,10 \right)}{10} =54354345431$$
$$\frac{\mathcal{P} \left( 842622684442,10 \right)}{10} =244486226248$$
I'm sorry if that was overkill, but I am still working on the formal proof for a lot of things with p-adic integers and I have had some pretty traumatic experiences with induction.