From the definition of the Ackerman function, we have
\begin{align*}
A(3, n) &= A(2, A(3, n - 1))
\end{align*}
Now $A(2, b)$ can be computated (at least from the table of values) to be $2b + 3$, so we find
$$A(3, n) = 2A(3, n - 1) + 3$$
This gives a recursive sequence; calling $A(3, n) = x_n$, we have the relationship
$$x_n = 2x_{n - 1} + 3$$
This can be solved directly (using, of course, an initial condition) or by substituting the guess from the pattern; either way, it's what you wrote.
Now all I did was transfer the problem to a different row of the table. Let's study $A(2, n)$ in the same way: We have
$$A(2, n) = A(1, A(2, n - 1))$$
From the table, we have that $A(1, b) = b + 2$, giving the recursion
$$y_n = y_{n - 1} + 2$$
This gives exactly the solution $y_n = 2n + 3$, when we figure out the initial condition.
But again, this has the same problem: I just used a different previously known row. Let's do this once more:
$$A(1, n) = A(0, A(1, n - 1))$$
But now we're in luck. By definition $A(0, b) = b = 1$, so
$$A(1, n) = A(1, n - 1) + 1$$
This is an easy recurrence to solve. The condition $A(1, 0) = 1$ gives us the base, and we find
$$\boxed{A(1, n) = n + 1}$$
So now let's put it all together, just backwards. We get $A(1, n)$ almost directly from the definition of the Ackermann function. Then we get $A(2, n)$ from a recurrence relation that reduced $A(2, n)$ to studying $A(1, A(2, n - 1))$. Then we can get $A(3, n)$ from a similar process.
p f(2,[0,-1],0)on any blank line that isn't commented out in green. – Simply Beautiful Art Jul 25 '17 at 23:03