Problem 46591. Ackerman Function
Write the ackerman function, which conforms to 3 constraints:
ack(0, n) = n+1
ack(m, 0) = ack(m-1, 1)
ack(m, n) = ack(m-1, ack(m, n-1))
Solution Stats
Problem Comments
-
1 Comment
ChrisR
on 19 Sep 2020
See also Cody Problem 734.
Solution Comments
Show commentsProblem Recent Solvers27
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52468 Solvers
-
4178 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15761 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
877 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
954 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!