sudan
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

sudan

The Sudan function. In the theory of computation, the Sudan function is an example of a function that is recursive, but not primitive recursive. This is also true of the better-known Ackermann function. The Sudan function was the first function having this property to be published.

It was discovered (and published) in 1927 by Gabriel Sudan, a Romanian mathematician who was a student of David Hilbert.

Usage

const F = require("sudan");

console.log(F(1n, 4n, 7n)); // => 759n

/sudan/

    Package Sidebar

    Install

    npm i sudan

    Weekly Downloads

    2

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    3.73 kB

    Total Files

    6

    Last publish

    Collaborators

    • 3