Lably
Skip to content

Ackermann function

Quickly growing function

  • 12 min read
  • 7 chapters

Related on Lably

Through Recurrence relation, Recursion and Addition

After Ackermann's publication of his function (which had three non-negative integer arguments), many authors modified it to suit various purposes, so that today "the Ackermann function" may refer to any of numerous variants of the original function. One common version is the two-argument Ackermann–Péter function developed by Rózsa Péter and Raphael Robinson. This function is defined from the recurrence relation A⁡(m+1,n+1)=A⁡(m,A⁡(m+1,n)) with appropriate base cases. Its value grows very rapidly; for example, A⁡(4,2) results in 265536−3, an integer with 19,729 decimal digits.

History

In the late 1920s, the mathematicians Gabriel Sudan and Wilhelm Ackermann, students of David Hilbert, were studying the foundations of computation. Both Sudan and Ackermann are credited with discovering total computable functions (termed simply "recursive" in some references) that are not primitive recursive. Sudan published the lesser-known Sudan function, then shortly afterwards and independently, in 1928, Ackermann published his function φ (from Greek, the letter phi). Ackermann's three-argument function, φ(m,n,p), is defined such that for p=0,1,2, it reproduces the basic operations of addition, multiplication, and exponentiation as

φ(m,n,0)=m+nφ(m,n,1)=m×nφ(m,n,2)=mn

and for p>2 it extends these basic operations in a way that can be compared to the hyperoperations:

φ(m,n,3)=m[4](n+1)φ(m,n,p)⪆m[p+1](n+1)for p>3

(Aside from its historic role as a total-computable-but-not-primitive-recursive function, Ackermann's original function is seen to extend the basic arithmetic operations beyond exponentiation, although not as seamlessly as do variants of Ackermann's function that are specifically designed for that purpose—such as Goodstein's hyperoperation sequence.)

In On the Infinite, David Hilbert first hypothesized that the Ackermann function was not primitive recursive, but it was Ackermann, Hilbert's personal secretary and former student, who actually proved the hypothesis in his paper On Hilbert's Construction of the Real Numbers.

Rózsa Péter and Raphael Robinson later developed a two-variable version of the Ackermann function that became preferred by almost all authors.

The generalized hyperoperation sequence, e.g. G(m,a,b)=a[m]b, is a version of the Ackermann function as well.

In 1963 R. Creighton Buck based an intuitive two-variable variant F on the hyperoperation sequence:

F⁡(m,n)=2[m]n.

Compared to most other versions, Buck's function has no unessential offsets:

F⁡(0,n)=2[0]n=n+1F⁡(1,n)=2[1]n=2+nF⁡(2,n)=2[2]n=2×nF⁡(3,n)=2[3]n=2nF⁡(4,n)=2[4]n=222...2⋮

Many other versions of Ackermann function have been investigated.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Computing and communication