You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* the Ackermann function is one of the simplest and earliest-discovered examples of a total computable function that is not primitive recursive.
* All primitive recursive functions are total and computable, but the Ackermann function illustrates that not all total computable functions are primitive recursive.
* Ackermann Function is given by :
* A (m , n) = n + 1, if m = 0
= A (m - 1, 1) if m > 0 and n = 0
= A (m - 1, A(m, n - 1)) if m > 0 and n > 0
* As this function may return large values, BigInteger class is used.