User blog:B1mb0w/Deeply Nested Ackermann

Deeply Nested Ackermann

The Deeply Nested Ackermann function DNA is defined by generalizing the Modified Ackermann function MA with a parameter array.

For example:

DNA(a,b,c,d) = MA(PA[4])

Rules for the DNA function are similar to MA function rules as follows:

DNA = MA(PA[0]) = 0      -  This is a null function that always returns zero.

DNA(a) = MA(PA[1]) = a+1   -  This is equivalent to MA(0,a)