Ackermann function

The Ackermann function $$A(x,y)$$ is defined by:


 * $$y + 1$$ if $$x = 0$$,
 * $$A(x - 1,1)$$ if $$y = 0$$, or
 * $$A(x - 1,A(x,y - 1))$$ otherwise.