The Ackerman function is defined as follows:
$$A(m,n)= \begin{cases} n+1,& m= 1\\ A(m-1,1), & m>0, n=0\\ A(m-1, A(m,n-1)), &m,n>0 \end{cases}$$
Is it possible to get the last few digits of Ackermann function?
I refer to the method in this article: Is this the correct way to compute the last $n$ digits of Graham's number?
If the iterations are large enough, the last 10 digits will be fixed at 3432948733.
But in many cases the number of iterations of the function is not so large.
Is there a more suitable algorithm to deal with the case of Ackerman function?