OFFSET
1,2
COMMENTS
The Ackermann-Péter function is A(k,m) = A143796(k,m).
n >= 1 is reached by finding some n = A(k,m) with k and m each either 0 or further nested application(s) of A.
This sequence is slow-growing.
LINKS
Hendrik Ballhausen, Table of n, a(n) for n = 1..2048
Rózsa Péter, Konstruktion nichtrekursiver Funktionen, Mathematische Annalen, 111 (1935), 42-60.
Wikipedia, Ackermann function
FORMULA
a(n) = min_{k,m: A(k,m)=n} a(k) + a(m) + 1
EXAMPLE
For n=65533, n = A(5,0) = A(A(2,1),0) = A(A(A(0,1),A(0,0)),0) = A(A(A(0,A(0,0)),A(0,0)),0) which is a(65533) = 5 applications of A, and this is the fewest possible.
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Hendrik Ballhausen, Apr 20 2025
STATUS
approved
