An open API service indexing awesome lists of open source software.

https://github.com/donno2048/ackermann

The Ackermann function
https://github.com/donno2048/ackermann

ackermann algorithms functions recursion

Last synced: about 2 months ago
JSON representation

The Ackermann function

Awesome Lists containing this project

README

          

# Ackermann
The Ackermann function

A function suggested by Ackermann as an example for a recursive function cannot be written as an iterated function.

According to Professor David Brailsford this is one of the most difficult functions to evaluate if not the most (except the Busy Beaver).

It's estimated that in the time takes to calculate `ack(4, 4)` the whole time between the [big bang](https://en.wikipedia.org/wiki/Big_Bang) and the [big crunch](https://en.wikipedia.org/wiki/Big_Crunch) will pass, but for any pair of number the ack function will not go to an infinite loop.