The Ackerman function is given as follows. (A(0,n)=n+1
A(m,0)=A(m-1,1) If m>0
A(m,n)=A(m-1,A(m,m-1)) if m>0 and n>0
Calculate A(0,2) and A(2,0).
Answers
Answered by
2
Given Ackermann function:
- if
- if
To find: and
Step-by-step explanation:
Now, [ using the 1st condition ]
and
[ using the 2nd condition ]
[ using the 3rd condition ]
[ using the 2nd condition ]
[ using the 1st condition ]
[ calculated previously ]
Answer:
Similar questions