Ackermann function/Definition

Mathematical function $$A$$ of two variables, such that for integer arguments $$n,n$$ it can be expressed as follows: $$ A(m, n) = \begin{cases} n+1 & \mbox{if } m = 0 \\ A(m-1, 1) & \mbox{if } m > 0 \mbox{ and } n = 0 \\ A(m-1, A(m, n-1)) & \mbox{if } m > 0 \mbox{ and } n > 0. \end{cases} $$.