Ackermann's Generalized Exponential Notation

Ackermann's Generalized Exponential Notation is a large number notation.

Formula
$$g(a,b,c) = g(a-1,g(a,b-1,c),c)$$

$$g(0,a,b) = a+b$$

$$g(1,a,b) = ab$$

$$g(a,b,c,d) = g(a-1,b,c,g(a,b,c))$$